There was an error while loading. Please reload this page.
2 parents fca9346 + 9cf781d commit 617899eCopy full SHA for 617899e
1 file changed
AL-Go/New-ALGoAppSourceContext.ps1
@@ -5,6 +5,10 @@ function New-ALGoAppSourceContext {
5
[switch] $skipTest
6
)
7
8
+ if ($authContext.scopes -ne "https://api.partner.microsoft.com/.default" -and $authContext.scopes -ne "https://api.partner.microsoft.com/") {
9
+ Write-Host -ForegroundColor Red "AuthContext.Scopes is '$($authContext.Scopes)', should have been 'https://api.partner.microsoft.com/.default'"
10
+ }
11
+
12
if ($authContext.ClientSecret) {
13
$appSourceContext = [ordered]@{
14
"clientID" = $authContext.clientID
0 commit comments