File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
2-WebApp-graph-user/2-3-Multi-Tenant/AppCreationScripts Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -190,13 +190,16 @@ Function ConfigureApplications
190
190
191
191
# Add Required Resources Access (from 'webApp' to 'Microsoft Graph')
192
192
Write-Host " Getting access from 'webApp' to 'Microsoft Graph'"
193
- $requiredPermissions = GetRequiredPermissions - applicationDisplayName " Microsoft Graph" `
193
+ $requiredPermission = GetRequiredPermissions - applicationDisplayName " Microsoft Graph" `
194
194
- requiredDelegatedPermissions " User.Read.All" `
195
- $requiredResourcesAccess.Add ($requiredPermissions )
195
+
196
+ $requiredResourcesAccess.Add ($requiredPermission )
196
197
Update-MgApplication - ApplicationId $webAppAadApplication.Id - RequiredResourceAccess $requiredResourcesAccess
197
198
Write-Host " Granted permissions."
198
199
199
200
Write-Host " Successfully registered and configured that app registration for 'WebApp-MultiTenant-v2' at" - ForegroundColor Green
201
+
202
+ # print the registered app portal URL for any further navigation
200
203
$webAppPortalUrl
201
204
202
205
# Update config file for 'webApp'
You can’t perform that action at this time.
0 commit comments