# This is the URL where you will send the authentication request to obtain an access token. $tokenEndpoint = "https://login.microsoftonline.com/$tenantId/oauth2/v2.0 ...