Relative Content

Tag Archive for reactjssingle-sign-onmicrosoft-teamsmicrosoft-graph-sdksmicrosoft-teams-js

Getting Consent Failure error in my app during Microsoft Teams SSO authentication

I have an app on Microsoft Teams that can be installed as a Tab in a teams channel. It is using Teams’s SSO authentication. When a new user (a user who has never consented to use certain account info to the app) opens the app, it asks for consenting some MS Graph API permissions. But the process is always failing while asking this consent and throwing an error. But after that if I reload the tab, then the authentication is successful. Hence, the consent process is working, but somehow it is not reflecting in the app immediately.