cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
KenYu
Level: Power Up

powerapps debug

My connection to a data source is returning an unexpected value.  Is there a way to debug why it may not be returning what I expect?  Specifically, I am connecting to Office 365 User Profile and some of the attributes are not returning expected value.

12 REPLIES 12
Community Support Team
Community Support Team

Re: powerapps debug

Hi @KenYu,

 

We could check the Diagnostics under PowerApp studio->Account:

AA0C37C4.png

There are session details and the Debug option available under the Diagnostics.

Additionally, we could also take use of some other tools to help troubleshooting:

F12 developing tools (if used PowerApps studio web version),

Or Fiddler web debugger tool.

In addition, regarding the Office 365 User connection, pease check the Offie 365 User Connection articles and see if it would help: Office 365 User connection

You may also share the errors and formula that used, so that we could make some tests for further investigation.

Regards

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
markvogt7
Level: Powered On

Re: powerapps debug

Greetings all, 

A couple of comments: 

1. I've been working with PowerApps for almost 2 months now, and have yet to see (or even make visible) the "Debug" link shown in your screenshot. No matter what I try, this link NEVER appears - what is everyone else's experience here? 

 

2. You kind of glossed over the reference to using F12 developer tools like its use was trivial and common knowledge, yet even in my own experience, this is hardly the case. Instead most developers know a tiny handful of tricks to using any browser's F12 developer tools (I'm the same)... but I need help - actual details - understanding which F12 tools, and which F12-related techniques - actually work with PowerApps development. 


Does anyone have any tips, lessons or advice to offer here? 

Which browser? Which F12 tools? Which techniques? What are best best practices? What are do's & don'ts? 

 

Here's hoping this community really starts to contribute on this vital topic!

 

Cheers,

-Mark Vogt

mr-dang
Level 10

Re: powerapps debug

Confirmed: I do not see the "Debug" button in Studio nor the web editor.

 

I always just assumed by F12, they meant the Console available in Chrome and Edge. That screenshot suggests otherwise, though.

Microsoft Employee
@8bitclassroom
PowerApps Staff AndyPennell
PowerApps Staff

Re: powerapps debug

The "Debug" button is only available to Microsofties. It lets us do "special" things 🙂

LarsK
Level: Powered On

Re: powerapps debug

Lovely. 🙂

 

But then -- how are we Muggles 😉 supposed to troubleshoot errors?

 

I'm stuck right now trying to figure out why my SQL data connections are suddenly not working anymore (failing with "An unknown error occurred").

 

Releasing a development tool to the public without some debugging support might be counterproductive.

 

Help?! I'm willing to scour event logs, log files, anything -- I just need to know where to look!

PowerApps Staff SinanE
PowerApps Staff

Re: powerapps debug

Hi, could you send us the session Id after you attempt to use the SQL connection? You should see it when clicking to Session details in the Account tab.

 

Thanks!

 

LarsK
Level: Powered On

Re: powerapps debug

Session ID: f855810c-3f7e-3e29-416d-9f89360d7388

 

I should add that the errors do not occur in the web player or the web studio. But -- I need to edit Flow actions so I have to use the desktop studio.

PowerApps Staff SinanE
PowerApps Staff

Re: powerapps debug

Thanks! We are looking into the issue. Have you tried loging out and logging back in Windows Studio?  

LarsK
Level: Powered On

Re: powerapps debug

Oh my goodness! That worked! (Not merely closing & reopening, but actually logging out and back in)

 

How, I'd love to know. 🙂 Any update you can provide will be most appreciated, as I'm concerned that this will impact ~3,000 users when we roll this out to at the client in the next 2-3 weeks.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (5,979)