/// <summary> /// Gets a list of service principals from the current tenant. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='nextLink'> /// Next link for the list operation. /// </param> public static IPage <ServicePrincipal> ListNext(this IServicePrincipalsOperations operations, string nextLink) { return(operations.ListNextAsync(nextLink).GetAwaiter().GetResult()); }