MSAL.PS
MSAL.PS copied to clipboard
``` Get-MsalToken -ClientId '' -TenantId '' -ClientSecret (read-host -AsSecureString) -AzureCloudInstance AzureUsGovernment ``` No matter the permutation here I seem to keep getting the following error: ``` Get-MsalToken : The application...
Currently can't import module in [ConstrainedLanguage mode](https://devblogs.microsoft.com/powershell/powershell-constrained-language-mode/). ``` PS C:\WINDOWS\system32> $ExecutionContext.SessionState.LanguageMode = "ConstrainedLanguage" PS C:\WINDOWS\system32> Import-Module MSAL.PS -Verbose VERBOSE: Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\MSAL.PS\4.37.0.0\MSAL.PS.psd1'. VERBOSE: Populating RepositorySourceLocation property for...
I am starting to get these errors occasionally. I use the disk cache, but clearing the disk cache does not resolve it. ``` powershell PS> $token = Get-GraphDelegatedToken -ApplicationID $clientid...
When running Get-MSALToken in a PowerShell session run as a user other than the currently logged on user, a blank popup is shown and a separate error prompt appears: "We...
Hi, I have a B2C instance setup with a custom sign-in policy and I am using the identity experience framework. I am trying to authenticate the user and obtain tokens...
https://docs.microsoft.com/en-us/dotnet/api/microsoft.identity.client.confidentialclientapplicationbuilder.withazureregion?view=azure-dotnet
The new version of Az.Accounts is throwing up this error "WARNING: INITIALIZATION: Fallback context save mode to process because of error during checking token cache persistence: Could not load file...
I'm trying to get this to work in a Azure Powershell function (httptrigger) Test code I have is the following ``` Import-Module MSAL.PS $TenantId = "xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" $ClientId = "xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" $CertThumbPrint...
Function App system assigned managed identity does not work with MSAL.PS in lastest version. Because "Microsoft.Identity.Client.dll" is already loaded in the core app. It would be necessary to detect the...
Hi, Thanks for the great module, it's going to be of great help for us. I am able to get a token with the same app using DeviceCode and using...