...
Create a workflow that uses AzXPowerShellActivity, which will run the command below in Azure AD Microservice. This command fetches DisplayName, Mail, and ObjectId attributes for the top 50 Azure Ad Users.
Code Block Get-AzureADUser -Top 50 | Select DisplayName, Mail, ObjectId | ConvertTo-Json
We will include DynamicPowershellResultsGrid Activity in the Workflow to view the results in a grid.
Publish the Workflow
Verify the Workflow is working by executing the Workflow in EmpowerID. We should be able to see a grid with DisplayName, Mail, and ObjectId attributes for the top 50 Azure Ad Users. workflow displays the expected results by running it in the EmpowerID UI.
Create Workflow
Please follow the instructions below to create an Azure AD PowerShell Workflow that uses AzXPowerShellActivity & DynamicPowershellResultsGrid.
...
We are all set to publish the Workflow. Please follow the instruction, and information about publishing the workflow items can be found here.
Verify the Workflow is Working
Log in to your EmpowerID portal.
Navigate to Object Administration → Workflows.
Search the Workflow published earlier and click on the workflow name in the Run column to execute the Workflow.
You should be able to see the Grid that populates the users from the Azure AD.
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
...