We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae0b0ba commit 551a561Copy full SHA for 551a561
src/Authentication/Authentication/test/Connect-MgGraph.Tests.ps1
@@ -69,7 +69,7 @@ Describe 'Connect-MgGraph In Delegated Mode' {
69
70
Describe 'Connect-MgGraph In Environment Variable Mode' {
71
It 'Should throw exception when supported environment variables are not specified' {
72
- { Connect-MgGraph -EnvironmentVariable -ErrorAction Stop } | Should -Throw -ExpectedMessage "*ClientSecretCredential authentication failed*"
+ { Connect-MgGraph -EnvironmentVariable -ErrorAction Stop } | Should -Throw -ExpectedMessage "*EnvironmentCredential authentication unavailable*"
73
}
74
It 'Should attempt to use configured environment variables' {
75
{
0 commit comments