OfficeDev / microsoft-teams-apps-buildingaccess

The Building Access app helps organizations manage access to workspaces through a reservation and approval process.
MIT License
32 stars 16 forks source link

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

Open vljm57us opened 2 years ago

vljm57us commented 2 years ago

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