-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Microsoft.App/managedEnvironments/PrivateEndpointConnectionsApproval/action error #31926
Copy link
Copy link
Closed
Closed
Copy link
Labels
Auto-AssignAuto assign by botAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamOKR CandidateThis label is used to track how many GitHub issues we have resolved for OKR purpose.This label is used to track how many GitHub issues we have resolved for OKR purpose.RBACaz roleaz rolecustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone
Metadata
Metadata
Assignees
Labels
Auto-AssignAuto assign by botAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamOKR CandidateThis label is used to track how many GitHub issues we have resolved for OKR purpose.This label is used to track how many GitHub issues we have resolved for OKR purpose.RBACaz roleaz rolecustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Type
Fields
Give feedbackNo fields configured for issues without a type.
Describe the bug
I've created a Least Privilege environment, all was going well until I added the Action below.
Command (Windows bash, I also tried "pwsh -c '...'" as that sometimes helps...)
json file
{ "Name": "...", "Description": "...", "AssignableScopes": ["/subscriptions/.../resourceGroups/..."], "Actions": [ "Microsoft.App/managedEnvironments/PrivateEndpointConnectionsApproval/action", .... ] }Error message
Related command
az role definition create --role-definition role.json
{
"Name": "...",
"Description": "...",
"AssignableScopes": ["/subscriptions/.../resourceGroups/..."],
"Actions": [
"Microsoft.App/managedEnvironments/PrivateEndpointConnectionsApproval/action",
....
]
}
Errors
(InvalidActionOrNotAction) 'Microsoft.App/managedEnvironments/PrivateEndpointConnectionsApproval/action' does not match any of the actions supported by the providers.
Code: InvalidActionOrNotAction
Message: 'Microsoft.App/managedEnvironments/PrivateEndpointConnectionsApproval/action' does not match any of the actions supported by the providers.
Issue script & Debug output
N\A
Expected behavior
Should give the definition Microsoft.App/managedEnvironments/PrivateEndpointConnectionsApproval/action permissions.
Environment Summary
azure-cli 2.76.0
core 2.76.0
telemetry 1.1.0
Extensions:
containerapp 1.2.0b3
log-analytics 1.0.0b1
Dependencies:
msal 1.33.0b1
azure-mgmt-resource 23.3.0
Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Config directory 'C:\Users\x.azure'
Extensions directory 'C:\Users\x.azure\cliextensions'
Python (Windows) 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)]
Additional context
No response