Skip to content

Commit 53ff083

Browse files
author
j82w
committed
Fixed ServerActiveDirectoryAdministratorTest. Removed a check for the graph endpoint when setting the Azure SQL Server Active Directory administrator that caused the test to fail.
1 parent 8da68f1 commit 53ff083

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/ResourceManager/Sql/Commands.Sql/ServerActiveDirectoryAdministrator/Services/AzureSqlServerActiveDirectoryAdministratorAdapter.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,6 @@ public MicrosoftAzureCommandsResourcesModelsActiveDirectory.ActiveDirectoryClien
6565
{
6666
if (_activeDirectoryClient == null)
6767
{
68-
if (!Profile.Context.Environment.IsEndpointSet(AzureEnvironment.Endpoint.Graph))
69-
{
70-
throw new ArgumentException(string.Format(Resources.InvalidGraphEndpoint));
71-
}
7268
_activeDirectoryClient = new MicrosoftAzureCommandsResourcesModelsActiveDirectory.ActiveDirectoryClient(Profile.Context);
7369
}
7470
return this._activeDirectoryClient;

0 commit comments

Comments
 (0)