microsoft-teams-apps-buildingaccess icon indicating copy to clipboard operation
microsoft-teams-apps-buildingaccess copied to clipboard

Building Security issues: The second argument to the 'Left' function is invalid and

Open vljm57us opened this issue 3 years ago • 0 comments

I deployed this app recently and there are minor issues, maybe because of some power apps update.. However, this one is preventing me to execute the secutiry app.

When this Security app opens, it gives these two error messages:

a) The second argument to the 'Left' function is invalid.

and

b) Office365Users.UserPhotoMetadata failed: { "error": { "code": "Request_BadRequest", "message": "Unrecognized query argument specified: 'userId'.", "innerError":....... This above is related to this command on the RequestCardComponent: If(Office365Users.UserPhotoMetadata(varSelectedRequest.Requestor.Email).HasPhoto, Office365Users.UserPhoto(varSelectedRequest.Requestor.Email), Office365Users.UserPhoto(varSelectedRequest.Requestor.Email))

Any help?! Tks Vagner

vljm57us avatar Apr 13 '22 00:04 vljm57us