所有请求的 Azure Web App 突然 returns 401.72

Azure Web App suddenly returns 401.72 for all request

我有一个类似于 的问题,但又不完全是。

我们有一个包含两个 Azure Web 应用程序的解决方案,由 Visual Studio Online 构建和部署。它几个月来一直工作得很好,但突然所有请求都以 401.72 响应结束:

HTTP Error 401.71 - Unauthorized You do not have permission to view this directory or page.

Most likely causes: The authenticated user does not have access to a resource needed to process the request.

Things you can try: Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click here.

Detailed Error Information: Module EasyAuthModule_32bit Notification AuthenticateRequest Handler
ExtensionlessUrlHandler-Integrated-4.0 Error Code 0x80004005 Requested URL https://[appname]:80/ Physical Path
D:\home\site\wwwroot Logon Method Not yet determined Logon User
Not yet determined

More Information: This is the generic Access Denied error returned by IIS. Typically, there is a substatus code associated with this error that describes why the server denied the request. Check the IIS Log file to determine whether a substatus code is associated with this failure. View more information »

Microsoft Knowledge Base Articles:

据我所知,没有进行相关的配置更改。

重新启动 Web App 并重新部署解决方案未能解决问题

碰巧的是,无论如何我们都应该重新创建环境,并且在完成此操作后,成功部署了相同的部署设置(具有更新的目标)并且它在新的 Web App intsance 上运行良好。

即使我们现在有了一个工作环境,我们也很想知道发生了什么,这样我们就可以确定它不会再次发生。

任何人都可以阐明这一点吗?

您开启了轻松验证。你希望它被打开吗?这似乎是导致问题的原因。

如果您不打算打开它,请通过任一门户 (old|new) 将其关闭,方法是导航到您的 Web 应用程序并在您的设置中找到它。

如果您确实打算启用它,则需要检查您的配置以确保您已正确设置 AAD。也许 AAD 中的应用程序配置已更改?

如果这些都没有帮助,请告诉我。