Multi-tenant application with pre-consent cannot call graph API

后端 未结 1 1741
轮回少年
轮回少年 2021-01-26 13:35

I\'d like to make an app automatically available for all tenants we have in our partner account that doesn\'t require any user credential.

For that, I created a web app

1条回答
  •  余生分开走
    2021-01-26 14:17

    It seems that it was a problem with the consent. Whether or not I use a new tenant, I have to go to https://login.windows.net/common/oauth2/authorize?response_type=code&client_id={0}&prompt=admin_consent (with {0} being the cliendId of the app) and then it works

    Something is therefore probably wrong with the autoconsent, but this is up for a separate question.

    0 讨论(0)
提交回复
热议问题