How to change the underlying Group Id of a Built-In User Group?

Kevin Pearce 35 Reputation points
2024-02-08T13:29:16.8933333+00:00

Is it possible to change the underlying Group Id of a built in API Management Developer Portal User Group? Example, changing "developers" to "developers2"? User's image

I have been through the REST documentation and whilst it does not appear possible, we do have legacy API Management instances where this is has been changed in the past (at a glance == a random GUID) so it must be possible somehow? Thanks

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,455 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Kevin Pearce 35 Reputation points
    2024-03-07T08:21:20.06+00:00

    Update for anyone else finding this in future:

    It was confirmed that Microsoft did generate GUIDs for these groups at some point in the past.

    Via an Azure Support request it should be possible to get these updated if causing issue.

    "I can confirm we did change the group IDs at some point. We can technically update these group IDs in the database directly"

    1 person found this answer helpful.

  2. MuthuKumaranMurugaachari-MSFT 22,441 Reputation points Moderator
    2024-02-08T15:00:18.81+00:00

    Kevin Pearce Thanks for posting your question in Microsoft Q&A. It is not possible to change Id of the group (GroupType: system, custom, external). You can only change display name, description, externalId, and type etc. as defined in GroupUpdateParameters via https://learn.microsoft.com/en-us/rest/api/apimanagement/group/update?view=rest-apimanagement-2022-08-01&tabs=HTTP and this is applicable only for custom or external not system group type (i.e. built-in group like developers). If you try to update the properties of system group, you may get MethodNotAllowed error. If you require this feature for a specific use case or submit feedback, feel free to start a discussion in https://github.com/Azure/api-management-developer-portal/discussions directly with our product team.

    I hope this helps and let me know if any questions.


    If you found the answer to your question helpful, please take a moment to mark it as Yes for others to benefit from your experience. Or simply add a comment tagging me and would be happy to answer your questions.


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.