Hello Henri Pihkala,
It looks like you have two Owner role assignments in the subscription. One is inherited at the subscription level, which should normally give full access, but the other one has a condition applied to a specific resource.
Even though you are an Owner, Azure enforces conditions as additional restrictions, which might be causing this issue. To resolve this, check if the conditional Owner role in IAM restricts any actions and edit or remove it if necessary.
If the issue persists even after removing conditional role assignments, check whether the ID “f8fd0c48-dc13-4fe4-xxxxxxxxxxxxxx” from your error message is linked to a service principal, application, or user in your tenant.
To identify whether that ID is related to any service principal or application or user, search for it in Overview of your Microsoft Entra tenant:
Go to Azure Portal -> Microsoft Entra ID -> Overview -> Enter ID in Search bar:
If the ID is associated with a service principal or application, note it's name and assign "Network Contributor" role to it under either subscription having ID 6e0f0965-4400-4050-xxxxxxxxx
or silta-test-vnet
virtual network:
Go to Azure Portal -> Subscriptions -> Select Subscription with above ID -> Access control (IAM) -> Add role assignment -> Select Network Contributor role -> Search for application name in members -> Add -> (Review + assign)
For more details, check similar issue in this Microsoft Q&A.
If that also did not work, try re-registering Microsoft.KeyVault
resource provider under subscription where you are facing issue like this:
Hope this helps!
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. If you have any other questions or are still running into more issues, please let me know in "Comments" section.