Skip to content

Commit

Permalink
Updated error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Microsoft Graph DevX Tooling authored and Microsoft Graph DevX Tooling committed Jul 26, 2024
1 parent 83554ae commit bf57b42
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Describe 'Connect-MgGraph In Delegated Mode' {

Describe 'Connect-MgGraph In Environment Variable Mode' {
It 'Should throw exception when supported environment variables are not specified' {
{ Connect-MgGraph -EnvironmentVariable -ErrorAction Stop } | Should -Throw -ExpectedMessage "*ClientSecretCredential authentication failed*"
{ Connect-MgGraph -EnvironmentVariable -ErrorAction Stop } | Should -Throw -ExpectedMessage "*EnvironmentCredential authentication unavailable*"
}
It 'Should attempt to use configured environment variables' {
{
Expand Down

0 comments on commit bf57b42

Please sign in to comment.