Added support for AzureGermanCloud#3030
Conversation
|
Can one of the admins verify this patch? |
|
@horrion, It will cover your contributions to all Microsoft-managed open source projects. |
|
@horrion, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request. |
|
@azuresdkci test this please |
|
@horrion Hi Robert. Thank you for the contribution! We would like to better understand your usage scenarios because Authentication library in this repo is not supported anymore. We moved all the functionality to azure-powershell repo because it was used primarily there. |
|
@horrion Note that, if you wanted to make a contribution that impacts the current libraries, an update here: https://github.com/Azure/azure-sdk-for-net/blob/AutoRest/src/ClientRuntime/Microsoft.Rest.ClientRuntime.Azure.Authentication/ActiveDirectoryServiceSettings.cs would be accepted |
Update horrion repo
|
@azuresdkci add to whitelist |
1 similar comment
|
@azuresdkci add to whitelist |
|
@markcowl please be advised that I just updated the content of https://github.com/Azure/azure-sdk-for-net/blob/AutoRest/src/ClientRuntime/Microsoft.Rest.ClientRuntime.Azure.Authentication/ActiveDirectoryServiceSettings.cs |
| {AzureEnvironment.Endpoint.GraphEndpointResourceId, AzureEnvironmentConstants.USGovernmentGraphEndpoint} | ||
| } | ||
| } | ||
| }, |
There was a problem hiding this comment.
@horrion We have no plans to update this library, so please revert this.
| private static readonly ActiveDirectoryServiceSettings AzureSettings = new ActiveDirectoryServiceSettings | ||
| { | ||
| AuthenticationEndpoint= new Uri("https://login.windows.net/"), | ||
| AuthenticationEndpoint= new Uri("https://login.microsoftonline.com/"), |
There was a problem hiding this comment.
login.windows.net is preferred.
There was a problem hiding this comment.
@markcowl Could you please explain why the "old" endpoint is preferred? I thought everything that depends on Azure Resource Manager has to go through the new endpoint (login.microsoftonline.com).
There was a problem hiding this comment.
@horrion You are absolutely right, I was reading this entirely the wrong way
markcowl
left a comment
There was a problem hiding this comment.
Thanks for this PR, I love to see this kinf of proactive support. We are deprecating the AutoRest branch, but once this is ready, either you or we can move this into the new branch.
Also, need to update the library version so that we cna publish a new nuget package with the changes.
Thanks again for the contribution!
|
@horrion Note that the ci failure is due to adding the new environment in common.authentication without updating one of the tests - since this part of the change should be reverted, the tests should pass once this is done. |
|
@markcowl I'll take care of removing the new environment in common.authentication. |
|
The AutoRest branch is retired and no longer takes pull requests. vs17Dev is the new autorest based .net sdk branch located here: Azure/azure-sdk-for-net. Please submit pull requests to that branch. |
|
The AutoRest branch is retired and no longer takes pull requests. vs17Dev is the new autorest based .net sdk branch located here: Azure/azure-sdk-for-net. Please submit pull requests to that branch. |
Description
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines
Testing Guidelines
SDK Generation Guidelines
project.jsonandAssemblyInfo.csfiles have been updated with the new version of the SDK.