Forum Discussion
HowseBrad
Aug 16, 2023Copper Contributor
Office365Users.UserPhotoV2 failed: { "error": { "code": "ForbiddenByPolicy","message": "invalid_role
We have a PowerApp that is running to show the Photo of multiple users in our tenant. When you click on a user we set an image control's image source to Office365Users.UserPhotoV2(SelectedUser.Email)...
HowseBrad
Aug 17, 2023Copper Contributor
no access to logs. I assume you are talking about the Logs under the Monitoring section of Azure?
If I did would you think this would be the place to look for more information on what policy is stopping the access?
If I did would you think this would be the place to look for more information on what policy is stopping the access?
- DKNZLAug 29, 2023Copper Contributor
- HowseBradAug 29, 2023Copper ContributorNope not yet. Issue is still occurring, but the number of users affected are very low and the impact is a minor annoyance. So not a High Priority.
- DKNZLAug 29, 2023Copper Contributor
Ok, from my side, I was working on a PowerApp and initially encountered an issue while using my account, (set up as a co-owner). We added another person as a co-owner and began editing the app using their account. and the error vanish. We published the app using the new co-owner's account and the errors that were previously affecting my account completely disappeared. I'm still uncertain about the exact reasons why but maybe this could help you with the few users that are effected.