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

New user to receive approvals #50

Open tbuckley76 opened 3 years ago

tbuckley76 commented 3 years ago

I have deployed the app and it works perfectly fine with my own user as the approver until....... I create a new user in Office 365 to receive the approvals. When I create the user and then setup the app for that user to receive approvals it fails with a gateway error (502).

BARCreateRequests.Run failed: { "error": { "code": 502, "source": "europe-001.azure-apim.net", "clientRequestId": "cb8fbec5-9d29-4940-8778-64374b8a0383", "message": "BadGateway", "innerError": { "error": { "code": "NoResponse", "message": "The server did not receive a response from an upstream server. Request tracking id '08585795871482619053357232657CU146'." } } } }

When I look at the BARCreateRequests flow it has the following error:

The specified user deskbooking@murphygroup.co.uk could not be found. clientRequestId: b100d57d-922a-49a6-8e51-23e22d02fb28 serviceRequestId: b100d57d-922a-49a6-8e51-23e22d02fb28

app_error

I dont understand why a new user can't be seen?