Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Nick Roll 13 posts 92 karma points
    Mar 17, 2022 @ 12:09
    Nick Roll
    0

    Site running on an Azure web app with Azure AD authentication enabled can't ping itself

    We have a staging site hosted on an Azure app which is authenticated with Azure AD. To clarify, Azure AD is not used to authenticate backoffice users or site members, but to control access to the entire app.

    Unfortunately this means that the app can't ping itself ('The remote server returned an error: (401) Unauthorized') and our scheduled Hangfire Server job also fails with the same error when making an API call.

    Has anyone had this issue or knows what to put in place to allow the app to authenticate itself?

Please Sign in or register to post replies

Write your reply to:

Draft