From 05c53c71fe621888568d631c6baf26adb5b6d5fa Mon Sep 17 00:00:00 2001 From: "Jason Thompson (ID CXP)" Date: Thu, 18 Nov 2021 21:23:47 -0500 Subject: [PATCH] Update to 4.37.0 --- packages.config | 4 ++-- src/Get-MsalToken.ps1 | 2 +- src/MSAL.PS.psd1 | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages.config b/packages.config index 4a3afd8..ff7cdc2 100644 --- a/packages.config +++ b/packages.config @@ -1,7 +1,7 @@ - - + + \ No newline at end of file diff --git a/src/Get-MsalToken.ps1 b/src/Get-MsalToken.ps1 index 1cde055..66946c7 100644 --- a/src/Get-MsalToken.ps1 +++ b/src/Get-MsalToken.ps1 @@ -335,7 +335,7 @@ function Get-MsalToken { "*" { if ($AzureCloudInstance -and $TenantId) { [void] $AquireTokenParameters.WithAuthority($AzureCloudInstance, $TenantId) } elseif ($AzureCloudInstance) { [void] $AquireTokenParameters.WithAuthority($AzureCloudInstance, 'common') } - elseif ($TenantId) { [void] $AquireTokenParameters.WithAuthority(('https://{0}' -f $ClientApplication.AppConfig.AuthorityInfo.Host), $TenantId) } + elseif ($TenantId) { [void] $AquireTokenParameters.WithAuthority(('https://{0}' -f $ClientApplication.AppConfig.Authority.AuthorityInfo.Host), $TenantId) } if ($Authority) { [void] $AquireTokenParameters.WithAuthority($Authority.AbsoluteUri) } if ($CorrelationId) { [void] $AquireTokenParameters.WithCorrelationId($CorrelationId) } if ($ExtraQueryParameters) { [void] $AquireTokenParameters.WithExtraQueryParameters((ConvertTo-Dictionary $ExtraQueryParameters -KeyType ([string]) -ValueType ([string]))) } diff --git a/src/MSAL.PS.psd1 b/src/MSAL.PS.psd1 index 0907b3b..ff0fc8b 100644 --- a/src/MSAL.PS.psd1 +++ b/src/MSAL.PS.psd1 @@ -10,7 +10,7 @@ RootModule = 'MSAL.PS.psm1' # Version number of this module. -ModuleVersion = '4.36.1' +ModuleVersion = '4.37.0' # Supported PSEditions CompatiblePSEditions = 'Core','Desktop' @@ -25,7 +25,7 @@ Author = 'Jason Thompson' CompanyName = 'Microsoft Corporation' # Copyright statement for this module -Copyright = '(c) 2021 Jason Thompson. All rights reserved.' +Copyright = '(c) 2021 Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module Description = @'