How to capture exception and dump files of LogicApp standard in Kudu console

How to capture exception and dump files of LogicApp standard in Kudu console

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

The tool:


 


SmartDump – an exception and memory dump capture utility (github.com)     –              https://github.com/microsoft/SmartDump


 


Current Release v1.02 beta · microsoft/SmartDump


SmartDump_v1.02.zip


 


How to use:


 


1. First of all, we need to open Kudu console and drag/upload the tool into the site folder.


 


SD01.gif



2. Next, we need to find the PID of our LogicApp site’s w3wp.exe from Process Explorer.


NOTE: the one with (scm) is for Kudu console. Hence we always have to focus on w3wp.exe without (scm).


 


SD02.gif


3. Then we can run SmartDump.exe and use -p option to specify the PID found in step #2.


This makes SmartDump attach to the target process and start to monitor any exception thrown in it. By default, the tool captures 5 exceptions.


 


SD03.gif


 


After invoke LogicApp and generate some exceptions, SmartDump will be able to capture them within the console.


 


SD04.gif


4. If you want to see more exceptions, just use -n option to specify number of exceptions to be captured.


 


NOTE: using -n 0 to start an unlimited/endless capture. However please be careful to use this in Kudu because it doesn’t support Ctrl+C to exit a process. Run inside a common cmd.exe without such issue.


 


Tips: you can also add:  > filename.log  at the end of a command to make Kudu write output into a log file for you.


 


SD05.gif


5. To generate dump, use -d option to set number of dumps to be captured. Associating it with -f(filter include) and -fv (filter exclude) options allow you to capture dumps against specific exceptions.


 


-f      Filter exception based on specified string(s). Use ‘|’ as delimiter for multiple strings.


-fv     Exclude exceptions contain specified filter. Use ‘|’ as delimiter for multiple strings.


 


SD06.gif


6. The tool also supports to set memory address of breakpoint to generate dump files.


You can capture a dump first and then open it in debugger to find the code entry address of a function you interest in(or code address of any line).


Then use -a option of SmartDump to set the address as breakpoint for capture:


 


SD07.gif



SD08.gif


There are also some other useful options and sample commands can be found in the readme of GitHub page: SmartDump

Upcoming June 2021 Microsoft 365 Champion Community Call

Upcoming June 2021 Microsoft 365 Champion Community Call

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

JoshLeporati_0-1624052942519.jpeg


 


Join us for this month’s community call where we will continue with our every 4th Tuesday of the month schedule, occurring on June 22nd! Join us at either 8:00 AM or 5:00 PM PT.


 


This month we will be discussing Lists and To-Do as our primary topics. We will review new features for Lists and To-Do and share tips that you can use to inspire new ways for your organizations to leverage these solutions.


 


If you have not yet joined our champion community, signup here to get the resource links that contain access to the call calendar, invites, program assets, and previous calls!

http://aka.ms/m365champions 


 


We look forward to seeing you there!


 


/Josh

Who doesn't like FREE Power BI Training?

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

I would contend that training helps with adoption AND it can be a powerful instrument for evangelizing and envisioning too!  


 



  1. Start by attending our FREE Power BI Trainings for Business Users (it’s good for managers, IT, and Admins too) – What is Power BI all about?  How can business users successfully navigate Power BI reports, dashboards, and apps?  Don’t try to memorize everything, just internalize it and think about where you could find value if you digitally transformed an old process.  Think “modernization”.  We’ll help you get there.  Check out the link below for training options.

  2. Next for you analysts, let’s get you into a FREE Power BI Dashboard in a Day workshop.  See your Microsoft account team.  We can help find free resources globally.  Need a custom or dedicated workshop?  We can help with that too!

  3. Now build and share!  Create a Center of Excellence and celebrate your impact, show-and-tell, and teach others.  


Learn more about Free Power BI Training from Guy in a Cube 


 


Have questions?  Your Microsoft account team is always a great place to start or share your comments with me and I’ll help get you the direction you need.

Meet The Swiss Group Uniting Biz Apps And Cognitive Services

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

Switzerland is a small country with big ideas.


 


Case in point: Microsoft Cognitive Services and Bot Framework Switzerland, a user group that shares the latest and greatest in tech for chatbot enthusiasts, Power Platform fans and Microsoft aficionados.


 


The result is an eclectic community where members of all skill levels bring out the best in each other. Business Applications MVP and founder Sebastian Zolg says the group is unique in the sense that it unites Microsoft’s Business Apps and Power Platform with Microsoft’s Cognitive Services and Bot Framework.


 


Despite launching a few years ago, Sebastian says the group has grown exponentially since the rise of the low-code and easy-to-access Power Platform. Its democratization of access has led to a wider variety of members and, as a result, ideas.


 


“Especially with the appearance of Power Virtual Agents and its deep integration in Microsoft Teams, the reach of our community efforts have grown considerably. Instead of pure tech experts, the community has evolved towards more business-oriented people and an evergrowing number of citizen developers,” Sebastian says.


 


“In that sense, my community role has transformed from tech expert to tech teacher, helping people in various job roles to understand how they can incorporate those technologies to solve their business problems.”


 


“For me, the community is all about learning new things and getting inspired — not just from the experts but also from people asking excellent questions on real-life usage of those technologies.”


 


The group hosts regular online meetups — complete with demonstrations and discussions — on an array of topics, including low-code chatbot solutions and supercomputers. Sebastian says the group follows a demo-first approach to illustrate ideas and concepts, with follow-up content available on Microsoft Learn.


 


“A well-structured demo removes the hesitation some people have when they are new to the technology,” Sebastian says. “Of course, showing the big picture helps people gain a good overview quickly and start a more streamlined journey on Microsoft Learn. 


 


“I always try to remember that navigation through this vast Microsoft cosmos isn’t as easy as it seems to the experts — and that’s why a good demo also includes showing people around on Microsoft Learn because it’s the perfect follow-up!”


 


As the community grows from strength to strength, Sebastian says he is proud to be able to unite tech enthusiasts from all over the country. 


 


“While we started our community efforts in the area of Bern, it has quickly spread to other regions, even covering the different language areas, such as the German- and French-speaking parts of Switzerland,” he says.


 


“Personally, working with the community pushes me out of my comfort zone. Networking is not in my DNA per se, but working with the community has helped me develop in this area and be more open and less hesitant.”


 


For more information on the user group, visit the Meetup page.

[Amplifying Black Voices] Availability Vs. Accessibility: Creating Seats At a Hidden Table

[Amplifying Black Voices] Availability Vs. Accessibility: Creating Seats At a Hidden Table

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

This blog was written by Program Manager, Azure Fastrack, iAsia Brown as part of the Amplifying Black Voices blog series. iAsia reflects on Juneteenth and how it correlates to her efforts to introduce and usher people into the field of technology.


 


On Wednesday, 16 June 2021, the Senate passed a bill to establish Juneteenth as a national holiday, and with mixed emotions, I celebrated. I celebrated the final acknowledgment that there was a period when slaves, black people, were deliberately kept in the dark for three years that they were free. Imagine gatekeeping a person’s ability to be more than property, live their lives on their terms, and find adequate employment.



pexels-rodnae-productions-7414106.jpg
After 16 years in the military, I remember when I first got my DD-214, my discharge papers, the papers that say I’ve completed serving the Marine Corps. I was free to live this life as a civilian and do whatever it was civilians do. I had been in the military since I was 17. It was my first and only real job. I didn’t know what I wanted to do. I remember me declaring, ” I will get out of the military and go work at Microsoft.” Once I got here, my immediate reaction was, “now that I have access, who else can I bring along?”

On Day 2 of my new life, I posted a LinkedIn message about my new employment and willingness to help anyone looking for help pivoting into tech. I can say that within two years, I’ve helped over 102 different humans across the US find meaningful work at various tech companies to include, but not limited to, Microsoft and other big tech companies. Anyone who asked, I was happy to help. I was more than creating seats at hidden tables. Some tables are hidden by design, others due to lack of access to someone with the knowledge, active with access in these spaces, and willing to help them on their journey there.


 


pexels-rodnae-productions-7414048 (1).jpg


 


If Juneteenth has taught me anything in this lifetime, it’s that not everyone will pass along the information to allow you access to new opportunities. When you find someone willing to help, take it and then pay it forward. I want to help be a catalyst to the change I want to see in tech. I want to see more women, more BIPOC, more LQBTQIA+, more veterans, more people who may be disabled but able and wanting to do these jobs. I want everyone to win. 


 


Technology is the equalizer. It doesn’t matter your race, religion, sexual orientation, or height. None of it has a discriminatory place here, yet all of the beautiful things that make people different are needed here. Let’s continue to be the representation the generation coming behind us can see; let’s continue to make space at tables that we are discovering and uncovering for those we are bringing along. As we continue to pay it forward  and reflect on this holiday, I will challenge myself to continue to provide access to communities who were raised believing that it was not available.