PowerShell Module for working with Azure Cosmos DB databases, collections, documents, attachments, offers, users, permissions, triggers, stored procedures and user defined functions.
This would just call $entraIdOAuthToken = (Get-AzAccessToken -ResourceUrl 'https://MyAzureCosmosDB.documents.azure.com').Token and populate the property if the user/identify was already authenticated.
This would just call
$entraIdOAuthToken = (Get-AzAccessToken -ResourceUrl 'https://MyAzureCosmosDB.documents.azure.com').Token
and populate the property if the user/identify was already authenticated.