OfficeDev / microsoft-teams-apps-requestateam

Power Platform based solution that allows users to request teams and automates team creation. NO LONGER MAINTAINED. Please use 'Provision Assist' - https://github.com/pnp/provision-assist-m365/ instead.
MIT License
234 stars 66 forks source link

Error from token exchange in power app - possible geo issue? #192

Open bungmaster opened 3 years ago

bungmaster commented 3 years ago

Hi folks!

(Please be gentle, I'm completely new to this environment)

The "Check Team Availability" flow is generating errors on the "Check if site exists -SP API" step:

Error from token exchange: Connection msmanaged-na/logicflows/30bc99de-55f6-43a0-b5ca-9023277a2518@https://msmanaged-na.azure-apim.net/ is not allowed to access connection msmanaged-na/sharepointonline/8cb5b35afec1405db721a1ad437b694a

image

Not sure if it's related, but another forum post indicated that it may be a geographical issue. We're in Canada. How can we confirm if this is at issue?

Any other tips would be greatly appreciated.

alexc-MSFT commented 3 years ago

@bungmaster let me follow this up internally as it does seem to be some kind of issue relating to your Geo which is odd as thje connection does appear to be routed through the US as expected.

I'll get back to you ASAP.

Thanks

andrii-kriuchkov-ms commented 3 years ago

Hi everyone!

Any updates on this?

We are facing the same issue with Office 365 connector (Send an email (V2)). It is unable to send an email because of the following error:

"Error from token exchange: Connection msmanaged-na/logicflows/[GUID removed]@https://msmanaged-na.azure-apim.net/ version -9223372036854775808 msmanaged-na/office365/shared-office365-[GUID removed] is not allowed to access connection msmanaged-na/office365/shared-office365-[GUID removed]

The GUIDs highlighted in bold are identical.

The flow had been working fine until the 12th of January 2021. Since then it keeps failing with the message above.

Hasnni commented 1 year ago

Hi @andrii-kriuchkov-ms
Any update on this ? https://github.com/OfficeDev/microsoft-teams-apps-requestateam/issues/192#issuecomment-769766117

Facing same problem but could not find better solution

andrii-kriuchkov-ms commented 1 year ago

Hi @Hasnni,

The issue went from always happening to happening randomly, then gradually disappeared for us. The last time we had this problem was on 7/6/2021. We didn't do anything specific to fix it.