Add user to groups with API-driven provisioning to on-prem AD

Mathias Sundman 50 Reputation points
2024-03-09T09:01:50.8+00:00

As an MSP we're looking into using "API-driven inbound user provisioning to on-prem Active Directory" for customer hybrid tenants, which looks very promising and has most of the features we're looking for.

But, there is one big show-stopper I haven't been able to figure out. When we provision new users to customer on-prem ADs they still typically heavily relies on membership in different AD groups for access to various systems, so they need to have an initial set of group memberships upon creation based department/role.

So, how can I use the BulkUpload API (on another API that communicates through the Cloud Sync agent) to assign users to on-prem AD groups?

If this functionality is not available the whole solution "falls", as I would still have to build my own on-prem agent to expose an API endpoint for managing on-prem user group memberships on complete the onboarding automation, which could then as well perform the user CREATE/MODIFY/DELETE actions.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,318 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
23,763 questions
0 comments No comments
{count} votes

Accepted answer
  1. Givary-MSFT 35,471 Reputation points Microsoft Employee
    2024-03-11T08:41:43.44+00:00

    @Mathias Sundman Thank you for reaching out to us, As I understand you are leveraging API-driven inbound user provisioning to on-prem Active Directory, though users are getting created successfully however you are looking for an option to add these created users into groups automatically.

    As far I am aware this feature ( of adding users to group) via API is not available, assuming you might need to have some PowerShell script to do this job when the users get created in on-premise AD via API driven provisioning.

    However I will check with my team internally on this ask and keep you updated.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.