Skip to content

Commit 30560ea

Browse files
authored
Merge pull request MicrosoftDocs#35758 from wxwr/patch-9
Updated endpoint from ASM to ARM
2 parents e8830d4 + ffb88b4 commit 30560ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/service-bus-messaging/service-bus-management-libraries.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ The pattern to manipulate any Service Bus resource follows a common protocol:
4747
```csharp
4848
var context = new AuthenticationContext($"https://login.microsoftonline.com/{tenantId}");
4949

50-
var result = await context.AcquireTokenAsync("https://management.core.windows.net/", new ClientCredential(clientId, clientSecret));
50+
var result = await context.AcquireTokenAsync("https://management.azure.com/", new ClientCredential(clientId, clientSecret));
5151
```
5252
2. Create the `ServiceBusManagementClient` object:
5353

@@ -136,7 +136,7 @@ namespace SBusADApp
136136
var context = new AuthenticationContext($"https://login.microsoftonline.com/{tenantId}");
137137

138138
var result = await context.AcquireTokenAsync(
139-
"https://management.core.windows.net/",
139+
"https://management.azure.com/",
140140
new ClientCredential(clientId, clientSecret)
141141
);
142142

0 commit comments

Comments
 (0)