Share via

Contributor role user cannot delete Product/DeviceGroup

matsujirushi 636 Reputation points MVP
2020-12-21T01:13:41.24+00:00

Hi,

Contributor role user cannot delete Product/DeviceGroup using Azure Sphere Publlic API.
Is it normal?

デバイスグループ、プロダクトが削除できない
https://github.com/matsujirushi/AzureSphereExplorer/issues/11

Product - Delete @Azure SPhere Public API
https://learn.microsoft.com/en-us/rest/api/azure-sphere/product/delete

User management @docs
https://learn.microsoft.com/en-us/azure-sphere/deployment/add-tenant-users#user-management

Azure Sphere
Azure Sphere

An Azure internet of things security solution including hardware, operating system, and cloud components.


Answer accepted by question author

António Sérgio Azevedo 7,671 Reputation points Microsoft Employee Moderator
2020-12-29T15:27:02.86+00:00

@matsujirushi thank you for your time.

1) Contributor role shouldn't be able to delete Product\Device Group?

Contributor role can add new devices and device groups, change deployments, but does not have permissions to execute any delete operations.

2) The only way to delete a Product\Device Group is using Azure Sphere Public API or we can do it using Azure Sphere CLI as well?

Currently, there is no delete switch in azsphere CLI device-group command to execute the operation, even for administrators. Please request a new feature for the team to triage and plan for future releases: https://feedback.azure.com/forums/915433-azure-sphere

Let me know if you have further questions?

Remember:

  • Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.
  • Want a reminder to come back and check responses? Here is how to subscribe to a notification.

Was this answer helpful?


0 additional answers

Sort by: Most helpful

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.