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 FehintolaObafemi committed Dec 20, 2024
1 parent f520759 commit 0b12cdb
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 0b12cdb

Please sign in to comment.