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

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
Level: Powered On

Re: PowerApps Org Browser - getting error

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
Community Support Team
Community Support Team

Re: PowerApps Org Browser - getting error

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.
sambuka42
Level: Powered On

Re: PowerApps Org Browser - getting error

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

stgiesbrecht
Level 8

Re: PowerApps Org Browser - getting error

I am receiving that error message as well.

 

Thanks

Community Support Team
Community Support Team

Re: PowerApps Org Browser - getting error

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.
sambuka42
Level: Powered On

Re: PowerApps Org Browser - getting error

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

virtualrw
Level: Powered On

Re: PowerApps Org Browser - getting error

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

sambuka42
Level: Powered On

Re: PowerApps Org Browser - getting error

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

virtualrw
Level: Powered On

Re: PowerApps Org Browser - getting error

where did yoiu make this change?

sambuka42
Level: Powered On

Re: PowerApps Org Browser - getting error

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
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

Power Apps 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

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

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