Office365Users.UserPhotoMetadata failed: { "error": { "code": "BadRequest", "message": "The request URI is not valid. Since the segment 'users' refers to a collection, this must be the last segment in the request URI or it must be followed by an function or action that can be bound to it otherwise all intermediate segments must refer to a single resource.", "innerError": { "date": "2022-08-29T19:00:07", "request-id": "fdbf6dbd-15ff-4182-9d81-6c1c9f057ec7", ...
I keep getting this error when making a request with office365users. I wasn't getting this error before, but now it won't stop popping up. I pretty much have a people picker that looks at userphotometadata to check if they have a photo if they don't it enters a default photo. I'm also getting a photo error as well, I shouldn't be getting any errors at all, because if a returned item is blank my code skips it and yet I'm getting this error regardless. I'm not even sure how the request uri is invalid when it's using the built in search function to search through users. Office365Users.SearchUserV2({searchTerm:SearchUserBox.Text, top:6}).value this is built in, there is no URI or API call that I wrote with power automate. So how can the request be bad? It doesn't really make any sense. This also worked fine when I initially implemented it, and now it's doing this.