You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importasynciofromazure.identityimportEnvironmentCredentialfrommsgraph_betaimportGraphServiceClient# Set the event loop policy for Windowsasyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
# Create authentication provider object. Used to authenticate requestcredential=EnvironmentCredential()
# Get a service client.client=GraphServiceClient(credentials=credential)
1. LIST ALL APPLICATIONS IN THE TENANT (GET /applications)