File tree Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 44 <LangVersion >9.0</LangVersion >
55 <TargetFrameworks >netstandard2.0;net8.0;net472</TargetFrameworks >
66 <RootNamespace >Microsoft.Graph.PowerShell.Authentication.Core</RootNamespace >
7- <Version >2.18.0</Version >
7+ <Version >2.25.0</Version >
8+ <!-- Suppress .NET Target Framework Moniker (TFM) Support Build Warnings -->
9+ <SuppressTfmSupportBuildWarnings >true</SuppressTfmSupportBuildWarnings >
810 </PropertyGroup >
911 <PropertyGroup >
1012 <EnableNETAnalyzers >true</EnableNETAnalyzers >
1113 <EnforceCodeStyleInBuild >true</EnforceCodeStyleInBuild >
1214 </PropertyGroup >
1315 <ItemGroup >
1416 <PackageReference Include =" Azure.Core.Experimental" Version =" 0.1.0-preview.34" />
15- <PackageReference Include =" Azure.Identity" Version =" 1.13.0-beta.1 " />
16- <PackageReference Include =" Azure.Identity.Broker" Version =" 1.2.0-beta.1 " />
17- <PackageReference Include =" Microsoft.Graph.Core" Version =" 3.1.14 " />
18- <PackageReference Include =" Microsoft.Identity.Client" Version =" 4.62.0 " />
19- <PackageReference Include =" Microsoft.Identity.Client.Broker" Version =" 4.62.0 " />
17+ <PackageReference Include =" Azure.Identity" Version =" 1.13.2 " />
18+ <PackageReference Include =" Azure.Identity.Broker" Version =" 1.2.0" />
19+ <PackageReference Include =" Microsoft.Graph.Core" Version =" 3.2.2 " />
20+ <PackageReference Include =" Microsoft.Identity.Client" Version =" 4.67.2 " />
21+ <PackageReference Include =" Microsoft.Identity.Client.Broker" Version =" 4.67.2 " />
2022 <PackageReference Include =" Newtonsoft.Json" Version =" 13.0.3" />
2123 <PackageReference Include =" System.Text.Json" Version =" 8.0.5" />
2224 </ItemGroup >
Original file line number Diff line number Diff line change @@ -54,7 +54,6 @@ private static HttpClient GetGraphHttpClient(AzureIdentityAccessTokenProvider au
5454 new NationalCloudHandler ( ) ,
5555 new ODataQueryOptionsHandler ( ) ,
5656 new HttpVersionHandler ( ) ,
57- new CompressionHandler ( ) ,
5857 new RetryHandler ( new RetryHandlerOption {
5958 Delay = requestContext . RetryDelay ,
6059 MaxRetry = requestContext . MaxRetry ,
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ Describe 'Connect-MgGraph In Environment Variable Mode' {
7777 $Env: AZURE_CLIENT_SECRET = " Not_Valid"
7878 $Env: AZURE_TENANT_ID = " common"
7979 Connect-MgGraph - EnvironmentVariable - ErrorAction Stop
80- } | Should - Throw - ExpectedMessage " * ClientSecretCredential authentication failed: AADSTS700016: Application with identifier 'Not_Valid' was not found in the directory 'Microsoft'.* "
80+ } | Should - Throw - ExpectedMessage " ClientSecretCredential authentication failed: "
8181 }
8282}
8383
@@ -95,7 +95,7 @@ Describe 'Connect-MgGraph In App Mode' {
9595Describe ' Connect-MgGraph Dependency Resolution' {
9696 It ' Should load Mg module side by side with Az module.' {
9797 { Connect-AzAccount - ApplicationId $RandomClientId - CertificateThumbprint " Invalid" - Tenant " Invalid" - ErrorAction Stop } | Should - Throw - ExpectedMessage " *Could not find tenant id*"
98- { Connect-MgGraph - TenantId " thisdomaindoesnotexist.com" - ErrorAction Stop - UseDeviceAuthentication } | Should - Throw - ExpectedMessage " *AADSTS90002* "
98+ { Connect-MgGraph - TenantId " thisdomaindoesnotexist.com" - ErrorAction Stop - UseDeviceAuthentication } | Should - Throw - ExpectedMessage " DeviceCodeCredential authentication failed: "
9999 }
100100}
101101
You can’t perform that action at this time.
0 commit comments