Azure Active Directory
22 min
learn how to connect engini to azure active directory with the azure ad activities in engini, you can manage users and groups, including creating, updating, deleting, and retrieving user and group details, as well as managing user licenses getting started with azure ad prerequisites a microsoft account add a connection to azure ad in engini enter your engini account at https //app engini io https //app engini io navigate to connections page by clicking on the connections on the left sidebar or by clicking here https //app engini io/connections click on the "new integration" option located at the top bar choose azure ad option from the available applications enter the following details in the “add connection” form connection name enter a unique and descriptive name for this connection this name will help you easily identify and manage your azure active directory connection within your system email used as the primary email address associated with the account access token a token for authorization to access microsoft services refresh token a token used to obtain a new access token when the current one expires sign in with microsotf click on the “microsoft signin” button sign into your microsoft account save settings click on the save button to save the connection triggers check for users created the trigger listens for new users at scheduled intervals as defined choose the azure software click on the “check for users created” trigger starting (utc) select the start date and time for the scheduled trigger recur every choose the time interval for triggering and checking emails the minimum time interval is 15 minutes add time frame you can specify a time frame during which the trigger will operate click on “add time frame” button select a specific time frame to activate the trigger for example, every 15 minutes from 8 am to 5 pm output fields define which fields are returned by the trigger and passed to the next modules in the scenario selecting only the required fields reduces data load, improves performance, and simplifies filtering and conditions later on add sort click add sort to organize the data list by a selected field in ascending or descending order to learn more about sorting data, click here https //help engini ai/workflow editor#add sorts add conditions click add conditions to define conditions that narrow down the data list and return only the relevant items to learn more about using filters, click here https //help engini ai/workflow editor#add conditions actions get users get all users output fields define which fields are returned by the trigger and passed to the next modules in the scenario selecting only the required fields reduces data load, improves performance, and simplifies filtering and conditions later on top n you can set the maximum number of records engini will return for the object you chose (default = all records) add sort click add sort to organize the data list by a selected field in ascending or descending order to learn more about sorting data, click here https //help engini ai/workflow editor#add sorts add conditions click add conditions to define conditions that narrow down the data list and return only the relevant items to learn more about using filters, click here https //help engini ai/workflow editor#add conditions get user by using this action, you can get one user user id enter a user id in the ‘user id’ field get user license details by using this action, you can get the user’s license details user email or id enter a user id or user email in the field in order to get his license details get group by using this action, you can get a specific group id enter a group id in “id” field in order to get information about the group output fields define which fields are returned by the trigger and passed to the next modules in the scenario selecting only the required fields reduces data load, improves performance, and simplifies filtering and conditions later on get groups by using this action, you can get all groups output fields define which fields are returned by the trigger and passed to the next modules in the scenario selecting only the required fields reduces data load, improves performance, and simplifies filtering and conditions later on top n you can set the maximum number of records engini will return for the object you chose (default = all records) add sort click add sort to organize the data list by a selected field in ascending or descending order to learn more about sorting data, click here https //help engini ai/workflow editor#add sorts add conditions click add conditions to define conditions that narrow down the data list and return only the relevant items to learn more about using filters, click here https //help engini ai/workflow editor#add conditions get group members by using this action, you can retrieve all group members output fields define which fields are returned by the trigger and passed to the next modules in the scenario selecting only the required fields reduces data load, improves performance, and simplifies filtering and conditions later on top n you can set the maximum number of records engini will return for the object you chose (default = all records) add sort click add sort to organize the data list by a selected field in ascending or descending order to learn more about sorting data, click here https //help engini ai/workflow editor#add sorts add conditions click add conditions to define conditions that narrow down the data list and return only the relevant items to learn more about using filters, click here https //help engini ai/workflow editor#add conditions get subscribed skus each account in azure ad has a list of associated services each azure service or resource can have multiple skus, which determine the features and pricing for that particular service to get information about those skus, add this activity create user by using this action, you can add a user to your azure system account enabled choose whether the user account is enabled or disabled false the account is disabled and the user cannot sign in or access resources true the account is enabled and the user can sign in and access resources display name choose the name of the user as it will appear in the azure system mail nickname choose the mailnickname for the account it should match the username part of the user principal name (upn) or the samaccountname for example, if the upn is dana levi\@domain com, then the mailnickname should be dana levi password profile force change password next sign in select if the user is required to change their password at their next sign in false the user will not be required to change their password on their next sign in true the user will be required to change their password upon their next sign in password profile password specify a password for the user user principal name add a user principal name (upn) it is the username combined with the domain in an email address format add field click add field to add and populate additional fields for the selected activity to learn more about managing activity data, click here https //help engini ai/workflow editor#add fields create group by using this action, you can add a group to your azure system display name give the group a miningful name mail enabled choose whether the group can receive and send emailis false the group is not mail enabled, it does not have an associated email address true the group is mail enabled it has an associated email address and can be used to send and receive emails mail nickname select a unique email alias for the group for mail enabled groups security enabled choose if the group can be used to control access to resources such as files, folders, and applications false the group is not a security group and is used for non security purposes true the group is a security group, it can be used to control access to resources such as files, folders, and applications this is the default value add field click add field to add and populate additional fields for the selected activity to learn more about managing activity data, click here https //help engini ai/workflow editor#add fields update user by using this action, you can update a user within your azure system user id specify which user you want to update by selecting their id add field click add field to add and populate additional fields for the selected activity to learn more about managing activity data, click here https //help engini ai/workflow editor#add fields update group by using this action, you can update a group within your azure system group id specify which group you want to update by selecting their id add field click add field to add and populate additional fields for the selected activity to learn more about managing activity data, click here https //help engini ai/workflow editor#add fields delete user by using this action, you can delete a user within your azure system user id enter the user id of the user you want to delete in the ‘user id’ field delete group by using this action, you can delete a group within your azure system group id enter the group id of the group you want to delete in the ‘group id’ field remove member from group by using this action, you can delete a member from a group in your azure system group id enter the group id that the member belongs to in order to delete the member from the group member id enter the member id of the user you want to delete from the group remove user license by using this action, you can delete a user’s license in your azure system user email or id enter the email address or id of the user from whom you want to remove the licenses licenses to remove\[] add the licenses you want to remove from the user in the createarray() function to learn more about functions, click here assign user license by using this action, you can assign a license to a user in your azure system user id enter the id of the user to whom you want to assign the license assigned licenses \[] add the licenses you want to assign to the user in the createarray() function to learn more about functions, click here https //engini io/help/tools/engini functions/ initialize object array this activity initializes an object array in azure active directory and stores a single structured entry based on the selected object type (azure active directory, assigned licenses) variable name enter the name of the variable that will hold the initialized object array this name will be used throughout the workflow whenever you refer to this object array object element typ e this field defines the type of data the array will store such as, azure active directory, assigned licenses and more the selected type determines the structure of the array and its use in subsequent actions add field click add field to add and populate additional fields for the selected activity to learn more about managing activity data, click here https //help engini ai/workflow editor#add fields map object array the map object array activity allows you to transform a data list that contains multiple pieces of data into a new data list based on the properties and values you choose data list choose a data list that you’ve obtained from previous activities in your workflow this data list typically contains an array of objects that you want to process object name choose the object name it can be assigned label or assigned licenses add field click add field to add and populate additional fields for the selected activity to learn more about managing activity data, click here https //help engini ai/workflow editor#add fields append object to array appending an object to an array variable allows you to dynamically add new values to the end of the array variable choose the array to which you want to add an object add field click add field to add and populate additional fields for the selected activity to learn more about managing activity data, click here https //help engini ai/workflow editor#add fields