-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Azure Government Cloud Azure App Health Check Error #7663
Comments
I tried testing the suggested workaround in our environment and found that setting the system environment variable |
Thanks for confirming the behaviour we'd suspected @jared-koiter. I'm sorry that the workaround isn't able to get your Health Checks for both Azure clouds working correctly. I've developed a fix for the problem and am aiming to get it out ASAP. Can you please confirm which version of Octopus you're running on at the moment? |
We're currently running v2022.2.6971 in our environment. |
Release Note: Fixed an issue where Health Checks for Azure App Service targets failed for clouds other than Azure Public (eg Azure Government) |
The fix for this problem has been merged to the
This issue will be updated with the version numbers the fix is available from once they are released. |
Some services in Azure are down at the moment which is having a flow-on effect to a few of our pipelines. This will eventually get automatically posted to this issue, but in the meantime: The fix for this is available in Server Stream 2022.2 from version
|
🎉 The fix for this issue has been released in:
|
Team
Severity
Blocking, a workaround exists under certain scenarios
Version
Octopus Version: 2022.2.7244 , Sashimi.AzureAppService Version: 2.4.2
Latest Version
Not applicable
What happened?
When attempting to run a system health check on an Azure app deployment target in Azure government cloud the following error is thrown and the health check fails:
Reproduction
Error and Stacktrace
ClientSecretCredential authentication failed: AADSTS900382: Confidential Client is not supported in Cross Cloud request. Microsoft.Identity.Client.MsalServiceException
More Information
Internal 🎫 1
Internal 🎫 2
Internal 🧵
Potentially Related Code 💻
Workaround
Add a system environment variable
AZURE_AUTHORITY_HOST
with the value of "https://login.microsoft.us" and restart the Octopus Server service.** Workaround should not be used when using both Azure government and public credentials on the same Octopus instance, as
AZURE_AUTHORITY_HOST
is a shared variable and this will cause Azure public cloud authentication health checks to break **The text was updated successfully, but these errors were encountered: