cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
asri_zainal
Level: Powered On

Troubleshooting Powerapps: finding methods used

On one of my projects i'm working on, i'm getting the following error when opened 1 of the screen.

 

 

Office365Users.UserPhotoMetadata failed: The method 'UserPhotoMetadata' has an invalid value for parameter 'userId'

 

 

Now my challenge is i'm unable to find which part of the powerapp that is using this method. I've looked through every screens, every objects.

 

Leave Request Template: https://powerapps.microsoft.com/en-us/blog/create-and-manage-leave-requests-with-ease/

 

Is there a debugging tool to locate this?

 

Note this error does not show in the creator studio app and allows me to save and publish without any issues, only on the app itself.

 

2 REPLIES 2
ebDev
Level: Powered On

Re: Troubleshooting Powerapps: finding methods used

Have you looked at the App Checker?
Its the stethoscope in the top right corner of the editor: Sans titre2.png
It should hold exactly where the error is in the respective tab Sans titre3.png

asri_zainal
Level: Powered On

Re: Troubleshooting Powerapps: finding methods used

@ebDev : Yes I have checked those. There are some delegation warnings but it has nothing to do with this error. As mentioned, I can save and publish the app just fine. In fact the app works fine too for the users.

 

The error only appears when a user and/or his/her manager does not have a photo in their account. Even so, the app still works as expected.

 

It is just annoying trying to explain these to the users to ignore it each time I get asked about it.

App-checker (1).PNG

 

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

Follow PowerApps on Twitter

Stay Up-to-Date by following PowerApps on Twitter

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

Users Online
Currently online: 40 members 4,130 guests
Please welcome our newest community members: