cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sambuka42
Regular Visitor

PowerApps Org Browser - getting error

New to Powerapps.   I am trying to customize the Org Browser.     I have 2 issues.

 

1.   getting this error on the Iphone (triangles on the build)  

The service returned an error: Office365Users!DirectReports: The method 'DirectReports' has an invalid value for parameter 'userId'
 
the app works perfect, it is just the error message on the phone that i am trying to get rid of
 
2.  on the startup screen - the name of the app is left aligned.   trying to get center aligned.
 
not sure if this is my session id:  Session ID: 80ad5a4c-8b21-8e53-8f02-525685c9a46a
PowerApps 2.0.680
1 ACCEPTED SOLUTION

Accepted Solutions
sambuka42
Regular Visitor

Think that I found a solution that worked for me

 

For any of the errors, I created an if statement if their was not a blank then proceed with formula

 

If(!IsBlank(First(Employee).Id), Office365Users.DirectReports(First(Employee).Id))

View solution in original post

16 REPLIES 16
v-yamao-msft
Community Support
Community Support

Hi sambuka42,

 

Will you get the error message when you run the app on other devices?


I just try to run the app “Org Browser” on my iPhone, I don’t get the error message you mentioned.


On Web player and Desktop studio, it also works fine.

 

To get the center aligned, with the control selected, set its Align property to Center.


Please try it on your side.

3.PNG

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you Mabel for your reply.

 

Yes, I get the same error on Iphone, Ipad, Desktop, Web Player etc. (See Picture: PowerApp2.png)    I also get the error in the build as well (see Picture: PowerApp3.png) - I wanted to make a note that the app works - i am just trying to get rid of the error message.

 

For the Center Aligned, I should have been more specific on the launch page.   It is actually on the "loading" screen.   See Picture: PowerApp1.png) - I have been trying to find a way to edit this page. (only happens on Iphone.  Ipad and WebPreview are fine)

 

Other users are getting the same error as well.   Could it be associated with our companies Office365?  Any help is most appreciated.

 PowerApp1PowerApp2PowerApp3PowerApp4.PNGPowerApp1.pngPowerApp2.png

I am receiving that error message as well.

 

Thanks

Hi sambuka42,

 

I am not able to check the pictures you uploaded, could you please share them again?

 

I will be trying to involve someone to look into this issue.

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I apologize (permission levels) - please try now and let me know

virtualrw
Regular Visitor

I'm getting the exact error - the app works fine. except for the error.

sambuka42
Regular Visitor

Think that I found a solution that worked for me

 

For any of the errors, I created an if statement if their was not a blank then proceed with formula

 

If(!IsBlank(First(Employee).Id), Office365Users.DirectReports(First(Employee).Id))

View solution in original post

where did yoiu make this change?

Went line by line in the build.   For each Error Triangle, and wherever there was DirectReports in the formula, I created the if(!isBlank

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (2,366)