Dynamics 365 Guides with Object Anchoring in Preview

Dynamics 365 Guides with Object Anchoring in Preview

This article is contributed. See the original author and article here.

Check out the most recent update to Microsoft Dynamics 365 Guides! With the July release of Guides, authors can now create guides to anchor faster and with more accuracy through markerless technology enabled by integration of Azure Object Anchors. Based on customer feedback, we have introduced an easier and more seamless way for you to anchor holograms to objects in the physical world using object anchoring.  


 


Archana_Iyer_0-1627492135532.gif


Using Object Anchors, operators can easily move from one workstream to the next as HoloLens’ spatial insight detects anchors and seamlessly launches overlaid digital content. Learn more about how this new feature improves on-the-job guidance with Dynamics 365 Guides. 


 


Why use Object Anchors instead of QR codes? 


Object anchors enable users to automatically align digital content with physical objects, eliminating the need for QR-code markers while improving alignment accuracy. 



  • QR codes require physical artifacts of specific sizes to be printed out. 

    • Object Anchors are markerless.



  • Sticking QR codes on objects might cause damage. 

    • Object Anchors are fully digital and have no risk of getting scratched or damaging physical products.



  • Finding and scanning QR codes involves another step to the operator workflow. 

    • Once your object has been converted to the right format by the author, operators can easily walk up and look at the object to be detected. This reduces the time it takes to locate the physical marker and more seamlessly launch into a workflow.  



  • Using a single QR code can affect accuracy as it can be influenced by marker size, camera scanning angle, and distance from the marker. Manual processes that require QR code alignment can also impact alignment accuracy. 

    • Object Anchors minimize manual processes and increases the accuracy of detecting an object.




 


How does Azure Object Anchors work? 


Object Anchors is an Azure service which enables the detection of specific objects in the real-world environment.  It uses sensing and processing on a HoloLens to detect and align a digital model to a physical object. To detect the object, it requires a converted 3D model of the real-world object through AOA’s conversion service. 


Once the 3D model has been converted, Azure Object Anchors primarily uses the depth sensor on the device to match the geometry of the real-world object and the converted model. When it finds the object, it overlays it with a mesh to indicate the object and visualizes the required and pre-authored Guides. 


 


Considerations while using Object Anchors 


When considering potential use cases, keep in mind the following:​​



  • Object Anchors currently works best for stationary objects that don’t move. 

  • Objects should be 1-10 meters for each dimension for optimal alignment accuracy. 

  • An accurate 3D model of the object is required to convert to an  Object Anchor. The currently supported file types are: .obj, .fbx, .glb, .gltf, .ply​ 

  • Highly reflective and dark material objects are difficult for the HoloLens to detect and may impact alignment and detection​. 


Recommended dimensions for objectsRecommended dimensions for objects


 


Workflow 


Step 1 – Convert your 3D model to a detectable format: 



  • Use a 3D model of the object with which you want to align.

  • Run this 3D model through the AOA conversion services cloud-based training and conversion pipeline​ (using Guides, authors will be able to perform that pre-conversion and assign detectable object to a guide as part of their workflow). 

  • Receive an object model output to use on your HoloLens 2 device ​. 


Step 2 – Assign an anchor: Leverage the object model generated in the first workflow to assign it to a guide as its Object Anchor. Use the PowerPoint-style authoring experience to simply drag and assign the object as an anchor.  



ArchanaIyer_3-1627432042437.jpeg


 


 Step 3 – Author/ operate: 



  • Guides uses the Azure Object Anchors detection SDK to scan and detect the Object Anchor based on a real-world scan ​. 

  • Step by step holographic instructions are then overlaid accurately over the physical object, based on the Guides that you set up. 


 


 


Try it out! Download the latest release of Guides here


Instructions on how to upgrade your Guides solution are here. 


Have a suggestion? Post it here in our categories or use this forum. 


 


Don’t forget to tell us what you think and let us know about the different Mixed Reality solutions you build! 


 

New communities experiences bolster employee engagement in the age of hybrid work

New communities experiences bolster employee engagement in the age of hybrid work

This article is contributed. See the original author and article here.

In our 2021 Work Trend Index, we detail how Microsoft is planning to navigate these challenges and how focusing on employee experience can help our workforce succeed in a world gone digital.

The post New communities experiences bolster employee engagement in the age of hybrid work appeared first on Microsoft 365 Blog.

Brought to you by Dr. Ware, Microsoft Office 365 Silver Partner, Charleston SC.

Build and customize model-driven apps | Power Apps Studio Updates

Build and customize model-driven apps | Power Apps Studio Updates

This article is contributed. See the original author and article here.

Simplify your app authoring experience with the latest updates in Power Apps. The new modern app designer makes model-driven apps far more accessible and easier to build. Customize pages, then generate Power Fx formulas that write themselves when you specify what you want using natural language. Emma Cooper, Senior Program Manager for Microsoft Power Apps, joins Jeremy Chapman to share how these updates make it easier to build apps and bring in advanced functionality with very low code.


 


Screen Shot 2021-07-27 at 12.36.04 PM.png


 








 








 


 





QUICK LINKS:









Link References:






Unfamiliar with Microsoft Mechanics?




 


Keep getting this insider knowledge, join us on social:


















































Meet a recent Microsoft Learn Student Ambassador graduate: Khushboo Verma

Meet a recent Microsoft Learn Student Ambassador graduate: Khushboo Verma

This article is contributed. See the original author and article here.

This is the next installment of our blog series highlighting Microsoft Learn Student Ambassadors who achieved the Gold milestone and have recently graduated from university. Each blog in the series features a different student and highlights their accomplishments, their experience with the  Student Ambassadors community, and what they’re up to now. 


 


Today we’d like to introduce Khushboo Verma who is from India and graduated in May from the Indira Gandhi Delhi Technical University for Women with a degree in Computer Science Engineering. 


 


Student_Developer_Team_0-1627316897743.jpeg


 


Responses have been edited for clarity and length.   


 


When you joined the Student Ambassador community in 2018, did you have specific goals you wanted to reach, such as a particular skill or quality?  What were they?  Did you achieve them? How has the program impacted you in general?  


 


My aim behind joining was to connect with a community beyond my campus to be able to bring opportunities and resources to my local community. I wanted to learn valuable skills – both technical and interpersonal – so that I can uplift those around me. The Student Ambassador program helped me grow above and beyond my initial goal.  It truly empowered me by providing me an opportunity to connect with passionate student developers from all over the world. It helped me understand what an inclusive and diverse community looks like and also helped me discover my true potential. 


 


I vividly remember my first event as a Student Ambassador when I delivered a talk on Azure in a room full of developers, some of them having many years of industry experience. That talk helped me realize my passion for tech communities and for public speaking. It opened a sea of opportunities for me. From that day to the present day, I have grown immensely. I’ve gained confidence and skills; it has been possible because of the support I’ve continuously received from the program. It has helped me build a personal brand for myself, and it also provided inspiration we receive from mentors like Pablo Veramendi, the Microsoft Learn Student Ambassadors Global Program Director, who are so passionate to empower the community and do their best everyday to bring the best out of us. I’ve witnessed the community grow exponentially ever since I’ve joined, and I feel super proud to be a part of a community that is literally transforming lives. 


 


What are the accomplishments that you’re the proudest of and why?  


 


I’ve organized multiple events as a Student Ambassador, and I’ve impacted more than 2000 student developers, but I’m most proud of the “Microsoft Student HackDay” I organized on my campus. The idea behind the hackathon was to introduce the women on my campus to the cloud computing landscape. I’m from an all-women university, and only a handful of my peers were aware about cloud computing and had never tried it hands-on. With the support of Arkodyuti Saha, Developer Relations Program Manager at Microsoft, I organized a 2-day hackathon on campus in which 80 women participated in a beginner workshop on chatbots in Azure. At the end of the hackathon, we were surprised to see that the participants had built amazing projects even though some of them learned about Azure and chatbots for the first time during the workshop. That event made me believe that women can achieve incredible heights if they receive the right guidance. 


 


Another accomplishment I’m really proud of is that as a Gold Ambassador, I was selected to speak at international conferences like Microsoft Build 2020 as part of a panel discussion titled “Learn how to succeed in Hackathons” and Microsoft Ignite 2020 (“Intro to GitHub”). It helped me boost my confidence and provided me the platform to showcase my skills to a much wider audience. 


 


What do you have planned after graduation?   


 


I am really passionate about technology and communities. I did a summer internship at Microsoft India as a software engineering intern. During that internship, I got to learn a lot about software engineering, interacted with senior leaders from Microsoft, and fell in love with Microsoft’s culture. I received a pre-placement offer after my internship, and I’ll be joining Microsoft India full time as a software engineer after graduation. I’m really excited for this upcoming chapter of my life. 


 


If you could redo your time as a Student Ambassador, is there anything you would have done differently?  


 


If I could start all over again, I would network with more people. The Microsoft Student Learn Ambassador program brings together students from varied backgrounds from all over the world and provides us a platform to interact, learn, and lead together. Initially, I was afraid of reaching out to new people because of imposter syndrome but eventually, I realized everyone was really helpful and supportive. Each Student Ambassador has something amazing to teach to the community, and the more I interact with them, the more I learn. So one thing that I would have done differently would be to interact and collaborate with more people. 


 


If you were to describe the community to a student who is interested in joining, what would you say about it to convince him or her to join? 


 


This is a program for every student out there who has a passion to learn, share, and connect with others. If you’re passionate about technology and have a desire to create an exponential impact in the world, then come and join our amazing community. You’ll not only get wonderful opportunities, but you’ll also learn great technical and interpersonal skills, you’ll build long lasting connections, and you’ll become a better leader and a better individual. The community is welcoming, honors diversity and inclusion, and values your ideas.  


 


What advice would you give to new Student Ambassadors? 


 


My advice to all the new Student Ambassadors would be to take initiatives and push yourself to transform your ideas into reality. Network and collaborate with as many people as you can – you’ll get to learn a lot. Help and uplift your community. And lastly, don’t doubt your own capabilities, and don’t be afraid to ask questions, as no question is ever stupid. 


 


What is your motto in life, your guiding principle? 


 


I’d like to share one of my favorite quotes that acts as a guiding principle for me: “As long as you’ve got passion, faith, and are willing to work hard, you can do anything you want in this life.” At the end of the day, I want to be happy with whatever I do, and I want my life to be meaningful, impactful and fulfilling.  


 


What is one random fact about you that few people are aware of? 


 


One random fact about me is that I can’t go without listening to music even for a single day. Music runs in my veins, haha. 


 


Good luck to you in your journey, Khushboo! 

Memory dumps to study a high-CPU performance issue

Memory dumps to study a high-CPU performance issue

This article is contributed. See the original author and article here.

Both tools below – ProcDump and DebugDiag – work similarly: they can attach themselves as debuggers to a process, then, when the machine is on high-CPU, collect one or more memory dump(s) from that specific process.


Note that the tools won’t “know” what process is consuming the CPU unless we dig deeper in the performance counters. If using ProcDump, it easier if we are sure ahead of time what’s the culprit – the process that is “eating” much CPU.


Both tools need administrative rights to be run.


DebugDiag is the preferred tool, since it automates some steps, adds more explicit context, and includes automated memory dump analysis capabilities too.


 


 


 


Using the command-line ProcDump


 


ProcDump does not require installation. But one needs to be specific about the PID to which it is attaching. That PID needs to be determined prior to starting ProcDump. Debug Diag is able to determine the PID itself, if the Application Pool is specified.


 



  1. Download the tool and copy it on a disk folder, for example D:Temp-Dumps
    https://docs.microsoft.com/en-us/sysinternals/downloads/procdump
     

  2. Open an administrative console, from where to run commands.
    Navigate to where the ProcDump tool was placed (D:Temp-Dumps).
     

  3. Find the process ID, the PID, of the IIS w3wp.exe worker process executing your application.
    From the administrative console, you can use AppCmd IIS tool to list processes for application pools:
    C:WindowsSystem32InetSrvappcmd.exe list wp

     

  4. In the administrative console, start the following command to collect dumps (but don’t hit enter yet).
    D:Temp-Dumps> procdump.exe -accepteula -ma -c 85 -n 3 -s 7 [PID]

    You may want to redirect the console output of ProcDump to a file, to persist the recording of the encountered exceptions:
    D:Temp-Dumps> procdump.exe -accepteula -ma -c 85 -n 3 -s 7 [PID] > Monitoring-log.txt

    Replace [PID] with the actual Process ID integer number identified at the step 2.
    Please make sure that there is enough disk space on the drive where dumps are collected. Each process dump will take space in the disk approximately the same size the process uses in memory (column Commit Size in Task Manager). For example, if the w3wp.exe process memory usage is ~1 GB, then the size of a dump file will be around 1 GB.

     

  5. Start reproducing the problem: issue requests that would render the process to consume CPU; or leave the command running until the high-CPU occurs.


 



  1. Please wait until all the dumps are written and then compress the files before uploading the dumps to the workspace.


 


 


 


Using the UI tool DebugDiag, Debug Diagnostics Collection


 


DebugDiag requires installation, but it is able to determine itself the whatever process instance – PID – happens to execute for an application pool at some point in time; even when that process may occasionally crash or be recycled, hence restarted with different PID.


 


 


 


#1.


Download Debug Diagnostic and install it on IIS machine:


https://www.microsoft.com/en-us/download/details.aspx?id=49924 v2.2 (if 32-bit system)


https://www.microsoft.com/en-us/download/details.aspx?id=102635 v2.3.1 (only supports 64-bit OS)


 


 


 


#2.


Create a new rule selecting Performance and then clicking on “Next” next button.
You also can create the rule by right-click and selecting “Add rule”, or clicking the “Add rule” button at the bottom.


 


ViorelAlexandru_0-1626442672809.png


 


 


 


 


#3.


Select the second option “Performance Counters” and then “Next”.


 


ViorelAlexandru_3-1626442693998.png


 


 


 


 


#4.


Click on Add Perf Triggers


 


ViorelAlexandru_5-1626442723606.png


 


 


 


 


#5.


The select %Processor Time from the Processor category and select the _Total instance


 


ViorelAlexandru_6-1626442733005.png


 


ViorelAlexandru_7-1626442759118.png


 


 


Note:


You might need to determine the w3wp.exe#N instance by looking into the Task Manager, sorting by w3wp.exe PID.
Or use one of the following commands in an administrative command-line console, to find out the PIDs:


> C:WindowsSystem32InetSrvappcmd.exe list wp
> TaskList.exe | find “w3wp.exe” /i

> TaskList.exe /FI “IMAGENAME eq w3wp.exe”

 


 


 


#6.


Select the action click on Edit Thresholds


 


ViorelAlexandru_8-1626442768765.png


 


 


 


 


#7.


Select Above, set 80 as this threshold and 5 in for this number of seconds
You might need to adjust the threshold value to what you’re seeing on your system. You should know better how you define “High-CPU” (maybe, in your case, High-CPU means anything above 60%; your experience or expectations matter here).


 


ViorelAlexandru_9-1626442779812.png


 


ViorelAlexandru_10-1626442788245.png


 


 


 


 


 


#8.


Click on Next


 


ViorelAlexandru_11-1626442796341.png


 


 


 


 


#9.


Click on Add Dump Target


 


ViorelAlexandru_12-1626442804439.png


 


 


  


 


#10.


Select Web application pool as Target type and select the application pool
 


 ViorelAlexandru_13-1626442813176.png


 


 


 


 


#11.


Click on Next


 


ViorelAlexandru_14-1626442823152.png


 


 


 


 


#12.


Set 10 seconds at Generate a UserDump every…


Set 3 at Stop after Generating… 


Select Collect Full UserDumps.
 


ViorelAlexandru_15-1626442845876.png


 


 


 


 


#13.


Type down a descriptive name, i.e. “My App eats a lot of CPU” and select the dump files path.
Keep in mind you’re collecting 4 dumps. Please make sure that there is enough disk space on the drive where dumps are collected. Each process dump will take space in the disk approximately the same size the process uses in memory (column Commit Size in Task Manager). For example, if the w3wp.exe process memory usage is ~2 GB, then the size of each dump file will be around 2 GB.
Do not choose a disk in network/UNC; choose a local disk.


 


ViorelAlexandru_16-1626442882911.png


 


 


 


 


#14.


Select “Activate rule now” option and click on “Finish


 


ViorelAlexandru_17-1626442894774.png


 


 


 


 


#15.


Watch the rule in DebugDiag; it should tell you how many dumps are collected (present in the selected dumps folder).


 


ViorelAlexandru_18-1626442905108.png


 


 


 


 


#16.


Once the memory dumps are collected and fully written on disk…


Archive each dump file in its own ZIP and prepare to hand over to the support engineer; upload in a secure file transfer space.


 


 


 


Remember my article about how exceptions are handled and how to collect memory dumps to study them. We can double check if a crash occurred or not: read about w3wp.exe crashes.


 


 


 


Aside: Just in case you are wondering what I use to capture screenshots for illustrating my articles, check out this little ShareX application in Windows Store.