Role to explore in Azure MySQL Flexible server.

Morsi 30 Reputation points
2023-09-13T10:37:46.08+00:00

Hi,

I have created an Azure web app as well as a flexible MySQL server database in the same resource group.

I want to grant access to my developer for this resource group so they can work on both the web app and the MySQL database.

I added the "Website Contributor" role to the resource group, which allowed my developer to see the web app and the app service plan, but not the MySQL database.

When adding the role, I couldn't find any role specifically for managing the MySQL database to assign to my developer.

I tried to assign the "SQL Managed Instance Contributor" role to them, but it didn't work, meaning the developer still cannot see the MySQL resource.

What role should I assign to them to enable them to view the flexible MySQL server database?

Thanks for help.

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
994 questions
{count} votes

1 answer

Sort by: Most helpful
  1. GeethaThatipatri-MSFT 29,552 Reputation points Microsoft Employee Moderator
    2023-09-15T10:48:21.47+00:00

    Thanks, @Morsi for the additional information and screenshot, We don’t have any built-in RBAC role for MySQL. You should have to create a custom role and add the necessary permission for the operation you would like to allow.  Azure resource provider operations | Microsoft Learn

    Please let me know if you need any other information.

    Regards

    Geetha

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.