We are working in Sitecore 9.3. In the CM instance, we have configured a site as well for internal business users. The site uses Azure AD B2C for login using WsFederation. We are able to login to sitecore using Identity server and site login also works fine.
We have a powershell script in sitecore which is triggered using the release pipeline to publish items from the master database to web database.
Its url is -
The issue is that this url is redirecting to Azure AD login. How to prevent it from doing so? For this hostname we have not configured Azure AD Login.
Can anybody please help me with the resolution?