cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

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
Anonymous
Not applicable

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.
Anonymous
Not applicable

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.
Anonymous
Not applicable

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.

Anonymous
Not applicable

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?

Anonymous
Not applicable

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,404)