Hello Power Apps Community!
I have a couple apps that use the Office365UserProfileV2 connector. To avoid getting the following runtime error, I had the code written down as:
The solution worked as expected for months. However, without making any changes to the code, the runtime error re-appeared a few months ago. Has anyone run into a similar scenario? does anyone have any information as to why this error might be re-appearing?
Hi @Anonymous ,
Use !IsBlankOrError function could not completely avoid this error, you could avoid this error by adding all fields when adding information in Azure AD (for example: write some prompt characters when you don't know what to fill in).
Hi @v-JessicaG-msft ,
I'm not sure I completely follow this solution. Maybe I'll give some more details on how I'm using this:
The App allows the some users to view the data presented as if they were someone else. The list of users that they can choose from comes from SAP and only contains emails ( @alaabitar , this is why I cannot use User IDs). Based on the selection, Power Apps retrieves the profile for the selected person. So I am not actually sending any information to Azure AD, I am just using what is already in the system.
What I meant from my previous post is to do something like
Hi @alaabitar ,
The selected item from my gallery comes from a list of emails that I extract from SAP. Therefore, I do not have the ID's of the users right off the bat. Do you have any other ideas of how I could make this work? As I said, I had no issues with this function 6 months ago... it just came up without any code changes.
The Super User program for 2022 - Season 2 has kicked off!
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.