'"Get Publish profile" on Azure App service

Please is there a kind of role that I can give to someone that uses my App services and he will not be able to have access to the "Get Publish Profile" . Is there a way I can restrict access to the "Get Publish Profile" tab.

I have tried the Microsoft.Web/sites/publishxml/Action to a custom role, but the users still have access to the tab.

Please your help will be appreciated.



Solution 1:[1]

Is there a way I can restrict access to the "Get Publish Profile" tab?

No, there isn't a built-in role like WebSite Contributor that you can set to restrict access to the Get Publish Profile.

But you can follow this document to either allow or deny Microsoft.Web/sites/publishxml/Action using custom role , which is the preferred method and then assign the role to the designated users.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 RajkumarMamidiChettu-MT