Deploy Diagnostics app script issue
- Dominant language
- PowerShell
- Stars
- 524
- Forks
- 610
- PR merge metrics
- No merged PRs in 30d
Description
Hey when running the CreateADAppRegistrationforDiagnostics.ps1 script I get an error here:
Set-AzureADApplication : Error occurred while executing SetApplication
Code: Request_BadRequest
Message: Invalid value specified for property 'resourceAppId' of resource 'RequiredResourceAccess'.
RequestId: b24bd010-9f82-4aac-b949-88b6871def6d
DateTimeStamp: Thu, 16 Jan 2020 17:03:31 GMT
Details: PropertyName - resourceAppId, PropertyErrorCode - InvalidValue
HttpStatusCode: BadRequest
HttpStatusDescription: Bad Request
HttpResponseStatus: Completed
At C:\WVD\CreateADAppRegistrationforDiagnostics.ps1:126 char:5
+ Set-AzureADApplication -ObjectId $azAdApplication.ObjectId -Requi ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Set-AzureADApplication], ApiException
+ FullyQualifiedErrorId : Microsoft.Open.AzureAD16.Client.ApiException,Microsoft.Open.AzureAD16.PowerShell.SetAppl
ication
Thanks
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with CreateADAppRegistrationforDiagnostics.ps1 and inspect the RequiredResourceAccess value passed at line 126. Re-run the script to reproduce the Set-AzureADApplication error and verify that the diagnostics app registration completes without the invalid resourceAppId response.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, powershell
- Domain
- authentication, cloud
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100