/// <summary> /// Gets the systemAssignedIdentity available under the specified RP scope. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='scope'> /// The resource provider scope of the resource. Parent resource being extended /// by Managed Identities. /// </param> public static SystemAssignedIdentity GetByScope(this ISystemAssignedIdentitiesOperations operations, string scope) { return(operations.GetByScopeAsync(scope).GetAwaiter().GetResult()); }