The current APIs look for
Internal/devimgt-adminrole to invoke admin APIs. When creating users via endpoint-mgt, the user get assigned only the
adminrole. This results in the admin not being able to invoke admin APIs inside the portal.
Add an additional check inside
adminrole has been added inside the payload for the user who is being created and attach the role 'Internal/devicemgt-admin'.