You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See the resource permission requirements for creating connections using Service Connector in Azure.
author
maud-lv
ms.author
malev
ms.service
service-connector
ms.topic
concept-article
ms.date
03/27/2026
Service Connector permission requirements
Service Connector creates connections between Azure services using an on-behalf-of tokens. When you use Service Connector to create connections between Azure services, you must ensure that the necessary permissions are granted. This article outlines the Service Connector permission requirements for various Azure resources.
App service connections
The following permissions apply to service connections for Azure app-related services.
Azure App Service web app
Action
Description
Microsoft.Web/sites/config/write
Update web app configuration settings.
Microsoft.web/sites/config/delete
Delete web app config.
Microsoft.Web/sites/config/list/action
List web app security sensitive settings, such as publishing credentials, app settings, and connection strings.
Microsoft.Web/sites/config/Read
Get web app configuration settings.
Microsoft.Web/sites/write
Create a new web app or update an existing one.
Microsoft.Web/sites/read
Get the properties of a web app.
App Service webapp slot
Action
Description
Microsoft.Web/sites/slots/Write
Create a new web app slot or update an existing one.
Microsoft.Web/sites/slots/Read
Get the properties of a web app deployment slot.
Microsoft.Web/sites/slots/config/Read
Get web app slot configuration settings.
Microsoft.Web/sites/slots/config/Write
Update web app slot configuration settings.
Microsoft.web/sites/slots/config/delete
Delete web app slot config.
Microsoft.Web/sites/slots/config/list/Action
List web app slot security sensitive settings, such as publishing credentials, app settings, and connection strings.
Use the most secure authentication flow available. Some authentication flows require a high degree of trust in the application, and carry risks not present in other flows. Use these flows only when other more secure flows, such as managed identities, aren't viable.
Azure Database for MySQL - Single Server (Legacy)
Action
Description
Microsoft.DBforMySQL/servers/firewallRules/read
Return the list of firewall rules for a server or get the properties for the specified firewall rule.
Microsoft.DBforMySQL/servers/firewallRules/write
Create a firewall rule with the specified parameters or update an existing rule.
Microsoft.DBforMySQL/servers/firewallRules/delete
Delete an existing firewall rule.
Microsoft.DBforMySQL/servers/read
Return the list of servers or get the properties for the specified server.
Microsoft.DBforMySQL/servers/databases/read
Return the list of MySQL databases or get the properties for the specified database.
Microsoft.DBforMySQL/servers/write
Create a server with the specified parameters or update the properties or tags for the specified server.
Return the list of server firewall rules or get the properties for the specified server firewall rule.
Microsoft.Sql/servers/firewallRules/write
Create a server firewall rule with the specified parameters, update the properties for the specified rule, or overwrite all existing rules with new server firewall rules.
Microsoft.Sql/servers/firewallRules/delete
Delete an existing server firewall rule.
Microsoft.Sql/servers/databases/read
Return the list of databases or get the properties for the specified database.
Microsoft.Sql/servers/read
Return the list of servers or get the properties for the specified server.
Microsoft.Sql/servers/virtualNetworkRules/read
Return the list of virtual network rules or get the properties for the specified virtual network rule.
Microsoft.Sql/servers/virtualNetworkRules/write
Create a virtual network rule with the specified parameters or update the properties or tags for the specified virtual network rule.
Microsoft.Sql/servers/virtualNetworkRules/delete
Delete an existing virtual network rule.
Other Azure service connections
The following permissions apply to service connections for other Azure services.
View the value of WebPubSub access keys in the management portal or through API.
Identity-related scenarios
The following permissions apply to service connections for various identity-related scenarios.
Managed identity or service principal
Service Connector might need to grant permissions to a managed identity or service principal if a connection is created with those authentication types. The following table lists the permission requirements for creating these connections.
Action
Description
Microsoft.Authorization/roleAssignments/read
Get information about a role assignment.
Microsoft.Authorization/roleAssignments/write
Create a role assignment at the specified scope.
Microsoft.Authorization/roleAssignments/delete
Delete a role assignment at the specified scope.
Private endpoint or service endpoint
Service Connector might need to grant permissions to your identity if connections are created with that network solution. The following table lists the permission requirements for creating these connections.
Action
Description
Microsoft.Network/publicIPAddresses/read
Get a public IP address definition.
Microsoft.Network/virtualNetworks/subnets/read
Get a virtual network subnet definition.
Microsoft.Network/virtualNetworks/subnets/write
Create a virtual network subnet or update an existing virtual network subnet.
Service Connector might need to grant permissions to a user-assigned managed identity if a connection is created with this authentication type. The following table lists the permission requirements for creating this connection.