Closed
Description
We are getting a weird behavior when trying to connect via Connect-MgGraph, right after connecting to PnP.PowerShell.
Running the following:
Connect-PnPOnline -ClientId $Global:O365DSCAppId -Tenant $Global:O365DSCTenantId -Thumbprint $Global:O365DSCThumbprint `
-Url 'https://O365DSC-admin.sharepoint.com' -AzureEnvironment Production
Connect-MGGraph -ClientId $Global:O365DSCAppId -TenantId $Global:O365DSCTenantId -CertificateThumbprint $Global:O365DSCThumbprint