Before i attempt this i would like to have some input, is it doable and is it a good practice? Would it be a really hard way to do?
I want to create an Onboardning form/list.
I do understand there is 3rd party solution for write back to On-Prem AD but this is not an option.
My questions are, im I thinking wrong? Is it over complicated? How would you solve it?
Hi @JimmyWork ,
Do you want to create user on on-premises AD, then sync to Azure AD?
Currently, Flow has actions on Azure AD, we could use “Create user” action to create user directly when user inputs data in SharePoint list.
From your description, the PowerShell script will be triggered once the file is created in SharePoint library or OneDrive.
We could use Flow to create the file to a library folder automatically to trigger the PowerShell, however, if you want to looks up the user from the Azure, you may need to create custom connector. As Azure AD connector doesn’t have a trigger.
Documents for your reference:
I want to create a user on the on-prem AD using microsoft flow.
I have no connection to the on-prem from sharepoint or flow so i was thinking on letting flow create a csv file or excel file with the information from the sharepoint columns.
I need to figure out how to get this file to my on-prem so it can run the powershell and create the user.
Hi @JimmyWork ,
I would suggest you try with Custom APIs, by creating a custom connector, you describe the API you want to connect to so that the connector understands the API’s operations and data structures.
Further, gateways supports the following on-premises data sources:
On-premise resources can be accessed via cloud services. This also includes active directory, the following post might help to create AD account in Onpremise
Three Super User rank tiers have been launched!
Features releasing from October 2020 through March 2021
We've updated and improved the layout and uploading format of the Power Automate Cookbook!
Fill out a quick form to claim your user group badge now!