Azure Web and Mobile built-in role

Website Contributor

Manages App Service websites and child resources through Microsoft.Web/sites/* control-plane Actions. That wildcard includes site and slot start, stop, and restart; publishing-profile access; listing security-sensitive configuration such as publishing credentials, app settings, and connection strings; and listing or changing Functions keys, host keys, and the host master key. The definition also contains Actions for certificates, Application Insights components, classic alerts, deployments, and support tickets, but an app-resource assignment does not reach separately scoped sibling resources and support requests require subscription-level access. It can read and join a plan where scope permits, has no DataActions, and cannot create Azure role assignments.

Role-definition permissions are imported from Microsoft Learn. Practical scope, use cases, prerequisites, best practices, security considerations, assignment guidance, and relationships have been reviewed against the official sources below.

Role definition ID: de139f84-1756-47ae-9be6-808fbbe84772

Control-plane actions (13)

Data-plane actions (0)

None — this role grants no data-plane (data access) actions.

Excluded actions (0)

None

Assignable scopes (1)

Practical scope

Assign directly on an existing App Service app for one deployment identity or operator. That assignment covers the app and its children, not sibling App Service certificates, Application Insights components, classic alert rules, or resource-group deployments. Use a resource group only when the workflow must manage those sibling resources or multiple apps. Support requests require subscription-level access.

Common use cases (2)

Prerequisites (4)

Best practices (3)

Security considerations (4)

Assignment guidance

Assign Website Contributor to the deployment identity or application operator directly on the App Service app only when that principal is trusted with site lifecycle, sensitive configuration, publishing credentials, and Functions keys; assign it on a targeted deployment slot when required. Broaden to a dedicated resource group only for reviewed sibling-resource operations. Prefer GitHub Actions OpenID Connect, grant Web Plan Contributor separately to the capacity operator, Support Request Contributor separately at subscription scope for support duties, and an access-administration role separately for role assignments.

Related roles (1)

Common questions

When should I assign the Website Contributor Azure role?

Assign Website Contributor when you need to: Deploy and manage one Azure App Service web app or deployment slots without granting management of the underlying App Service plan.; and Use a Microsoft Entra application or user-assigned managed identity with OpenID Connect for a GitHub Actions deployment scoped to one app and, when used, its deployment slot.. Practical scope: Assign directly on an existing App Service app for one deployment identity or operator. That assignment covers the app and its children, not sibling App Service certificates, Application Insights components, classic alert rules, or resource-group deployments. Use a resource group only when the workflow must manage those sibling resources or multiple apps. Support requests require subscription-level access.

What permissions does the Website Contributor Azure role grant?

The role definition grants 13 combined control-plane and data-plane actions. Representative operations include: Microsoft.Authorization/*/read; Microsoft.Insights/alertRules/*; Microsoft.Insights/components/*; Microsoft.ResourceHealth/availabilityStatuses/read; Microsoft.Resources/deployments/*; and Microsoft.Resources/subscriptions/resourceGroups/read. Review the permission sections above for the complete definition and exclusions.

What are the security risks of the Website Contributor Azure role?

Key considerations when assigning Website Contributor: Website write access enables app and slot start, stop, and restart; configuration changes; log streaming; console and deployment access; publishing-profile retrieval; and access to app settings, connection strings, publishing credentials, Functions keys, host keys, and the Functions host master key.; At app scope, the role can modify or delete the app and its slots but cannot exercise certificate, Application Insights, classic-alert, or resource-group deployment Actions against sibling resources. A resource-group assignment can make those Actions effective and covers every matching resource in that group.; Subscription scope is required for support-ticket authority and would extend all Website Contributor permissions across the subscription.; and It cannot manage the App Service plan or create Azure role assignments; those duties require separate access.. Follow the assignment guidance above and use the narrowest practical scope.

Editorial sources (11)

Official Microsoft Learn documentation →