Azure-docs: Assigning user as contributor to Azure Function at resource level and not Resource Group level?

Created on 12 Aug 2019  ·  4Comments  ·  Source: MicrosoftDocs/azure-docs

In Logic App there is a resource level Role like - Logic App Contributor.
However, for Web App, there is no such role. But one can only assign a user to Web App as a contributor and reader in the Resource group. What about Functions based on consumption plan or based on Web App? There is no role for Function App like Logic App Contributor. So what is the recommendation in this case and how do I restrict a user from doing any edit outside of function but allow him to add and delete the functions in function app?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri1 cxp product-question role-based-access-controsvc triaged

All 4 comments

@Anand-Moghe
Thanks for your feedback! We will investigate and update as appropriate.

I tested in my tenant with a function app and it appeared to work. You just add the user as a Contributor only within that function app.

My test user is able to contribute on the function app but not on anything else in the tenant. If you wanted you could also create custom roles and just set the scope at the resource/function app level.

This appears to be the hierarchy:
Subscriptions

-> Subscription

-> Access control (IAM)

-> Roles

-> Contributor 

  -> Permissions 

    -> Microsoft Web Apps 

     -> Web App

       -> Function App

         -> …
     -> Web Apps Functions

Let me know if you still have issues.

@MarileeTurscak-MSFT Thank you very very much 👍 !!!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

monteledwards picture monteledwards  ·  3Comments

varma31 picture varma31  ·  3Comments

bityob picture bityob  ·  3Comments

mrdfuse picture mrdfuse  ·  3Comments

behnam89 picture behnam89  ·  3Comments