Permissions to delete a resource in a collection

Duchemin, Dominique 2,011 Reputation points
2022-02-22T19:52:02.637+00:00

Hello,

When trying to delete a resource from a collection I am getting an error:
176939-2022-02-22-11-47-36-collection-delete-resource-fai.png

Which permission(s) did I miss?
176820-2022-02-22-11-45-33-collection-permissions-01.png176940-2022-02-22-11-46-11-collection-permissions-02.png

Any permission(s) outside the collection bucket?

Thanks,
Dom

Microsoft Security | Intune | Configuration Manager | Other
0 comments No comments
{count} votes

Answer accepted by question author
  1. AllenLiu-MSFT 49,436 Reputation points Microsoft External Staff
    2022-02-23T09:49:37.78+00:00

    Hi, @Duchemin, Dominique

    Delete resource is actually delete it from the database, the resource in other collections will also be deleted.
    So I guess the collection you selected is not enough, you may try to add the "All Systems" collection to the security scope to see if it work.

    1 person found this answer helpful.
    0 comments No comments

4 additional answers

Sort by: Most helpful
  1. AllenLiu-MSFT 49,436 Reputation points Microsoft External Staff
    2022-02-23T08:28:44.887+00:00

    Hi, @Duchemin, Dominique

    Thank you for posting in Microsoft Q&A forum.

    I did a quick test in my lab environment, I just add the "Delete Resource" permission of Collection for the security role "Read-Only Analyst".
    And it's enough to delete a resource in collection.
    177141-1.png

    You may check the Security Scopes for your user to see if it has enough security scope?
    177142-2.png


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

  2. AllenLiu-MSFT 49,436 Reputation points Microsoft External Staff
    2022-02-23T08:45:41.517+00:00

    Hi, @Duchemin, Dominique

    I'm confused. Why do you create permission for each collection? And how?
    What I did is create a custom security role and assign it to a user:

    177145-3.png

    1 person found this answer helpful.
    0 comments No comments

  3. Duchemin, Dominique 2,011 Reputation points
    2022-02-23T08:35:12.547+00:00

    Hello,

    I had already these permissions on Cllection #1 but it did not work...
    So I added the same permissions on the "Limiting collection" #2 as well..
    177104-2022-02-23-0-32-47-collection-delete.png

    Thanks,
    Dom

    0 comments No comments

  4. Duchemin, Dominique 2,011 Reputation points
    2022-02-23T09:01:29.297+00:00

    Hi @AllenLiu-MSFT

    Correct for the security role
    177124-2022-02-23-0-50-42-collection-delete.png
    but I added the "limiting collection" in the Administrative user.
    177097-2022-02-23-0-54-37-collection-delete.png

    Thanks,
    Dom

    0 comments No comments

Your answer

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