File tree 3 files changed +10
-9
lines changed
3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 4
4
<LangVersion >9.0</LangVersion >
5
5
<TargetFrameworks >netstandard2.0;net8.0;net472</TargetFrameworks >
6
6
<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 >
8
10
</PropertyGroup >
9
11
<PropertyGroup >
10
12
<EnableNETAnalyzers >true</EnableNETAnalyzers >
11
13
<EnforceCodeStyleInBuild >true</EnforceCodeStyleInBuild >
12
14
</PropertyGroup >
13
15
<ItemGroup >
14
16
<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 " />
20
22
<PackageReference Include =" Newtonsoft.Json" Version =" 13.0.3" />
21
23
<PackageReference Include =" System.Text.Json" Version =" 8.0.5" />
22
24
</ItemGroup >
Original file line number Diff line number Diff line change @@ -54,7 +54,6 @@ private static HttpClient GetGraphHttpClient(AzureIdentityAccessTokenProvider au
54
54
new NationalCloudHandler ( ) ,
55
55
new ODataQueryOptionsHandler ( ) ,
56
56
new HttpVersionHandler ( ) ,
57
- new CompressionHandler ( ) ,
58
57
new RetryHandler ( new RetryHandlerOption {
59
58
Delay = requestContext . RetryDelay ,
60
59
MaxRetry = requestContext . MaxRetry ,
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ Describe 'Connect-MgGraph In Environment Variable Mode' {
77
77
$Env: AZURE_CLIENT_SECRET = " Not_Valid"
78
78
$Env: AZURE_TENANT_ID = " common"
79
79
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: "
81
81
}
82
82
}
83
83
@@ -95,7 +95,7 @@ Describe 'Connect-MgGraph In App Mode' {
95
95
Describe ' Connect-MgGraph Dependency Resolution' {
96
96
It ' Should load Mg module side by side with Az module.' {
97
97
{ 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: "
99
99
}
100
100
}
101
101
You can’t perform that action at this time.
0 commit comments