Azure website message “You do not have permission to view this directory or page.”. What to do?

前端 未结 10 1933
陌清茗
陌清茗 2020-11-28 11:54

After I published an ASP.NET Core app to Azure from Visual Studio 2017 I am getting this message when I click on the app url:

It was working fine before. Is

10条回答
  •  半阙折子戏
    2020-11-28 12:29

    From my experience, if your login user ID under Azure Active Directory (AAD), you have to modify in Settings:

    • Authentication / Authorization
    • App Service Authentication, "ON" =>> choose: Log in With Azure Active Directory
    • Select 'ActivityProvider', base on your purpose. In my case, I'm using AAD.
    • Configured (Express: Existing APP)
    • Manage Azure Active Directory: Manage Permission & Manage Application

    For Manage Permission ==>> Add, In Delegate Permission, choose: Sign in and read user profile and refresh your browser to login again

提交回复
热议问题