Skip to content

Commit 1396147

Browse files
author
Joel Enikanorogbon
committed
update code sample
1 parent b6bf1a0 commit 1396147

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)