Clarify default 365-day expiration in ARM API example - #2058
Clarify default 365-day expiration in ARM API example#2058Rahiel Akhtar (raheel1906) wants to merge 1 commit into
Conversation
The ARM API example under "Assign a role using Azure Resource Manager API" shows a request body with "duration": "P365D" but does not explain what this default means or how to change it. Readers who copy the example verbatim end up with role assignments that expire after 365 days without a signal that this is configurable. This change adds a NOTE block immediately after the request body code fence, explaining that the duration field sets a bounded 365-day eligibility and that permanent eligibility requires the role management policy at the target scope to allow it. Also bumps ms.date to reflect the update.
|
Rahiel Akhtar (@raheel1906) : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change. Ken Withee (@kenwith) |
|
Rahiel Akhtar (@raheel1906) : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change. Ken Withee (@kenwith) |
|
Learn Build status updates of commit 7588047: ✅ Validation status: passed
For more details, please refer to the build report. |
|
#sign-off |
|
Invalid command: '#sign-off'. Only the assigned author of one or more file in this PR can sign off. Ken Withee (@kenwith) |
|
Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, adding a #label:"aq-pr-triaged" |
The ARM API example under "Assign a role using Azure Resource Manager API" shows a request body with "duration": "P365D" but does not explain what this default means or how to change it. Readers who copy the example verbatim end up with role assignments that expire after 365 days without a signal that this is configurable.
This change adds a NOTE block immediately after the request body code fence, explaining that the duration field sets a bounded 365-day eligibility and that permanent eligibility requires the role management policy at the target scope to allow it.
Also bumps ms.date to reflect the update.