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 @@ -181,6 +181,14 @@ Function ConfigureApplications
181181 Set-AzureADApplication - ObjectId $clientAadApplication.ObjectId - RequiredResourceAccess $requiredResourcesAccess
182182 Write-Host " Granted."
183183
184+ # Configure known client applications for service
185+ Write-Host " Configure known client applications for the 'service'"
186+ $knowApplications = New-Object System.Collections.Generic.List[System.String ]
187+ $knowApplications.Add ($clientAadApplication.AppId )
188+ Set-AzureADApplication - ObjectId $serviceAadApplication.ObjectId - KnownClientApplications $knowApplications
189+ Write-Host " Configured."
190+
191+
184192 # Update config file for 'service'
185193 $configFile = $pwd.Path + " \..\TodoListService-ManualJwt\Web.Config"
186194 Write-Host " Updating the sample code ($configFile )"
You can’t perform that action at this time.
0 commit comments