summary import { ManagedServiceIdentityClient } from "@msinternal/msi-resource-manager" ; import { DefaultAzureCredential } from "@azure/identity" ; async function msiOperationsList ( ) { const subscriptionId = "00000000-0000-0000-0000-000000000000" ; const credential = new DefaultAzureCredential ( ) ; const client = new ManagedServiceIdentityClient ( credential , subscriptionId ) ; const resArray = new Array ( ) ; for await ( let item of client . operations . list ( ) ) { resArray . push ( item ) ; } console . log ( resArray ) ; } msiOperationsList ( ) . catch ( console . error ) ;