mirror of
https://github.com/Micke-K/IntuneManagement.git
synced 2026-09-28 10:55:38 +02:00
Fix typo in permissions error message
This commit is contained in:
@@ -886,7 +886,7 @@ function Show-GraphObjects
|
|||||||
{
|
{
|
||||||
$requiredPermissions = ""
|
$requiredPermissions = ""
|
||||||
}
|
}
|
||||||
$global:txtNotLoggedIn.Content = "You don't have the required permissons to access $($global:curObjectType.Title).$($requiredPermissions)`n`Missing perimssons: $missingScopes`n`nRequest consent from the 'Request Consent' link in the user login info`nor`nDisable the 'Use Default Permissions' setting to trigger consent prompt.`nNote: Changing the 'Use Default Permissions' setting will require a restart of the app`nand a 'manual' login"
|
$global:txtNotLoggedIn.Content = "You don't have the required permissions to access $($global:curObjectType.Title).$($requiredPermissions)`n`Missing permissions: $missingScopes`n`nRequest consent from the 'Request Consent' link in the user login info`nor`nDisable the 'Use Default Permissions' setting to trigger consent prompt.`nNote: Changing the 'Use Default Permissions' setting will require a restart of the app`nand a 'manual' login"
|
||||||
$global:grdNotLoggedIn.Visibility = "Visible"
|
$global:grdNotLoggedIn.Visibility = "Visible"
|
||||||
$global:grdData.Visibility = "Collapsed"
|
$global:grdData.Visibility = "Collapsed"
|
||||||
return
|
return
|
||||||
@@ -4898,4 +4898,4 @@ function ConvertTo-JsonSortedGraph {
|
|||||||
)
|
)
|
||||||
$sorted = Invoke-SortJsonGraphObject $InputObject
|
$sorted = Invoke-SortJsonGraphObject $InputObject
|
||||||
return $sorted | ConvertTo-Json -Depth $Depth
|
return $sorted | ConvertTo-Json -Depth $Depth
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user