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