Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Assign Azure resource roles in Privileged Identity Management
description: Learn how to assign Azure resource roles in Privileged Identity Management (PIM).
ms.topic: how-to
ms.date: 04/23/2026
ms.date: 08/06/2026
ms.custom: sfi-ga-nochange, sfi-image-nochange
#Customer Intent: As an Azure resource administrator, I want to assign Azure resource roles using PIM to provide just-in-time access to subscriptions, resource groups, and other Azure resources.
---
Expand Down Expand Up @@ -127,6 +127,9 @@ PUT https://management.azure.com/providers/Microsoft.Subscription/subscriptions/
}
````

> [!NOTE]
> The `duration` field (value `P365D` in this example) sets the eligible assignment to expire after 365 days. To create permanent eligibility, configure the role management policy at the target scope to allow it.

### Response

Status code: 201
Expand Down