File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ Write-Host "Found '$($applications.Count)' total applications in directory '$ten
55
55
56
56
# Find all the unique deployment GUIDs, each one representing an Azure Stack deployment or registration in the current directory
57
57
$deploymentGuids = $applications.IdentifierUris |
58
- Where-Object { $_ -like 'https://management.*' -or $_ -like 'https://adminmanagement.*' -or $_ -like 'https://azurebridge. *' } |
58
+ Where-Object { $_ -like 'https://management.*' -or $_ -like 'https://adminmanagement.*' -or $_ -like 'https://azurebridge*' } |
59
59
ForEach-Object { "$_".Split('/')[3] } |
60
60
Select-Object -Unique
61
61
Write-Host "Found '$($deploymentGuids.Count)' total Azure Stack deployments or registrations in directory '$tenantId'"
@@ -78,7 +78,7 @@ foreach ($application in $applications)
78
78
$azureStackLegacyGraphApplications = $azureStackApplications |
79
79
Where-Object {
80
80
($_.RequiredResourceAccess.ResourceAppId -contains '00000002-0000-0000-c000-000000000000') -or
81
- ($_.IdentifierUris | Where-Object { $_ -like 'https://azurebridge. *' }) }
81
+ ($_.IdentifierUris | Where-Object { $_ -like 'https://azurebridge*' }) }
82
82
83
83
# Find which of those applications need to have their authentication behaviors patched to allow access to legacy Graph
84
84
$azureStackLegacyGraphApplicationsToUpdate = $azureStackLegacyGraphApplications |
You can’t perform that action at this time.
0 commit comments