@azure/identity 3.3.1-alpha.20230815.2 → 3.3.1-alpha.20230926.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of @azure/identity might be problematic. Click here for more details.
package/dist/index.js
CHANGED
|
@@ -2852,11 +2852,15 @@ class AzurePowerShellCredential {
|
|
|
2852
2852
|
const results = await runCommands([
|
|
2853
2853
|
[
|
|
2854
2854
|
powerShellCommand,
|
|
2855
|
+
"-NoProfile",
|
|
2856
|
+
"-NonInteractive",
|
|
2855
2857
|
"-Command",
|
|
2856
2858
|
"Import-Module Az.Accounts -MinimumVersion 2.2.0 -PassThru",
|
|
2857
2859
|
],
|
|
2858
2860
|
[
|
|
2859
2861
|
powerShellCommand,
|
|
2862
|
+
"-NoProfile",
|
|
2863
|
+
"-NonInteractive",
|
|
2860
2864
|
"-Command",
|
|
2861
2865
|
`Get-AzAccessToken ${tenantSection} -ResourceUrl "${resource}" | ConvertTo-Json`,
|
|
2862
2866
|
],
|