Azure / Azure/azure-rest-api-specs
Scope not exposed as a parameters for Microsoft.Authorization/policyExemptions@2020-07-01-preview
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 444
Description
I'm trying to create `Microsoft.Authorization/policyExemptions` objects via ARM templates and Bicep
It seems like the `scope` parameters is not being properly exported/exposed, so clients can't pick it up
For reference the scope parameter is exposed from `policyAssignments` and clients can set it

The only difference between the two that I can see is the scope has `"x-ms-parameter-location": "method"` set in policyExemptions and it's not set in policyAssignments
https://github.com/Azure/azure-rest-api-specs/blob/master/specification/resources/resource-manager/Microsoft.Authorization/preview/2020-07-01-preview/policyExemptions.json
Contributor guide
Assessment
This issue has not been assessed yet.