arcus-azure/arcus.scripting

Provide script to upsert user-subscriptions in APIM (developer portal)

Closed this issue ยท 3 comments

Is your feature request related to a problem? Please describe.
Currently, there is no way to easily manage or automate the creation of subscriptions in APIM to grant users access to specific api's/products in the Developer Portal.
Because of this, this remains a manual step.

Describe the solution you'd like
This can be automated by using the REST API to take care of the creation/update of subscriptions, defining whether they get access to the legacy dev port, whether they need to be invited,...

A first test has been created here:
https://github.com/mbraekman/Powershell/blob/master/Azure/APIM-CreateDevPortalSubscriptionForUser.ps1

What isn't included in this PoC-scripts is:

  • the removal of subscriptions

Only thing I do not notice at first glance from the docs to those operations in the Az-module, is support for:

  • send a notification after registering (bool)
  • grant access to legacy developer portal vs "new" dev portal

Up to you to decide if this would be an issue not having those :)

@mbraekman thanks for your input! Sorry for the late response, a lot of things got in the way ๐Ÿ˜’
For me this is not an issue. I will close this for now, if we find that having the notification after registering is something we really miss we can always re-open this issue ๐Ÿ‘๐Ÿป