Azure / Azure/azure-rest-api-specs

Scope not exposed as a parameters for Microsoft.Authorization/policyExemptions@2020-07-01-preview

Open
#11,570 2 comments 0 reactions 1 assignee Claimed by @darshanhs90 View on GitHub
Authorization Resource Authorization Service Attention
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

![image](https://user-images.githubusercontent.com/14982936/98390309-13b2fd00-204d-11eb-9cc8-d3e6123f14b7.png)

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.