Tom Biscardi

Results 5 comments of Tom Biscardi

+1. Also experiencing this issue with the `EnvironmentVariable` parameter in v2.8.0+. Experiencing with multiple tenants and cloud types (`Global` & `USGov`).

@timayabi2020 any update on this? This issue is still present in v2.14.1. Was there a change to how these environment variables need to be defined? [The learn article still indicates...

For those still facing this issue, I believe I found a valid workaround: `$Credential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $env:AZURE_CLIENT_ID, ($env:AZURE_CLIENT_SECRET | ConvertTo-SecureString -AsPlainText -Force)` `Connect-MgGraph -ClientSecretCredential $Credential -TenantId $env:AZURE_TENANT_ID`...

@ld0614 I ran into this same issue, and found your GH issue here. If you're still experiencing this, I was able to work around it by just not providing the...

@ld0614, I spoke too soon. Omitting the `-Sku` parameter created a standard tier bastion (in Azure US Government at least) :(