Skip to content

Commit f9590ac

Browse files
Merge pull request #266733 from Joeleniqs/patch-30
update code sample for managed identity documentation
2 parents 2d0727f + 1396147 commit f9590ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/communication-services/how-tos/managed-identity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public async Task CreateResourceWithSystemAssignedManagedIdentity()
118118
DataLocation = "UnitedStates",
119119
Identity = identity
120120
};
121-
var communicationServiceLro = await collection.GetCommunicationServiceResources().CreateOrUpdateAsync(WaitUntil.Completed, communicationServiceName, data);
121+
var communicationServiceLro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, communicationServiceName, data);
122122
var resource = communicationServiceLro.Value;
123123
}
124124
```

0 commit comments

Comments
 (0)