File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -172,6 +172,14 @@ Function ConfigureApplications
172172 Set-AzureADApplication - ObjectId $clientAadApplication.ObjectId - RequiredResourceAccess $requiredResourcesAccess
173173 Write-Host " Granted."
174174
175+ # Configure known client applications for service
176+ Write-Host " Configure known client applications for the 'service'"
177+ $knowApplications = New-Object System.Collections.Generic.List[System.String ]
178+ $knowApplications.Add ($clientAadApplication.AppId )
179+ Set-AzureADApplication - ObjectId $serviceAadApplication.ObjectId - KnownClientApplications $knowApplications
180+ Write-Host " Configured."
181+
182+
175183 # Update config file for 'service'
176184 $configFile = $pwd.Path + " \..\TodoListService-ManualJwt\Web.Config"
177185 Write-Host " Updating the sample code ($configFile )"
You can’t perform that action at this time.
0 commit comments