Run custom workflows in Azure AD entitlement management

Published Feb 24 2022 12:00 PM 4,923 Views
Microsoft

Automating complex processes for managing user access is now even easier with the recent introduction of custom workflows in entitlement management using Azure Logic Apps, and today we'd like to walk through a couple scenarios where you can use this new capability to customize the flow of on- and offboarding users to access packages. Being able to automate these processes reduces the amount of mistakes inherent in manual processes and frees up time to focus on other business priorities.

 

Providing or removing access is not just about provisioning to resources like Teams, SharePoint, Groups, or apps. There are often additional steps organizations want to take, like sending an email or updating records in a database. Historically, these steps were often done manually. For example, with an understanding that the approver of an access package was also responsible for sending an email to the team about the newly onboarded person, or scripts were run periodically to notice changes in access package membership and make subsequent downstream changes.

 

Being able to use specific events in entitlement management – such as when an access package request is approved or when user access expires – to trigger custom workflows can extend entitlement management with a bevy of native Microsoft cloud applications as well as external applications like Salesforce and ServiceNow to allow automation of formerly manual processes. Let’s explore a couple ways our fictional company Contoso can take advantage of these capabilities.

 

Link entitlement management to an external application  

As an example, Contoso uses Salesforce to manage deals and opportunities for its Sales team. The Sales team has an Access Package in Azure Active Directory (Azure AD) entitlement management to grant members of the Sales team access to relevant resources and SharePoint sites and provision their access into Salesforce. In addition to granting access to Salesforce, they want to make sure that new members of the Sales team are assigned to specific deals and contacts in Salesforce, and when people leave the team their deals and contacts are assigned to someone else on the team.

  

 

Here, the custom callout is created, and the customer adds the specific Logic App to the Catalog to invoke it on specific policy actions (such as access package assignment).Here, the custom callout is created, and the customer adds the specific Logic App to the Catalog to invoke it on specific policy actions (such as access package assignment).

 

What used to be a manual process for updating Salesforce records can now be automated by configuring custom workflows. When a new user is approved for access to the Sales team Access Package, a Logic App is automatically triggered which also assigns that person to the appropriate deals and contacts. Likewise, when someone is removed from the Access Package, a different Logic App is automatically triggered and does the reassignment for the Salesforce artifacts they were responsible for. Automating these processes allows the team to focus more on getting actual work done rather than managing access.

 

smoorhead_1-1644862613635.png

 

 

Notice how invoking a Logic App that edits Salesforce—tied to access package assignment—added a salesperson as a contact for a customer account.Notice how invoking a Logic App that edits Salesforce—tied to access package assignment—added a salesperson as a contact for a customer account.

 

Send custom emails linked to policies 

Contoso also wants to send an email to the Contoso Sales Team when a user is granted the Sales Team access package, so they are aware that a new sales member has joined the team. By creating a simple Azure Logic App that invokes Outlook Web for Office 365 and triggering that when a user is approved for the Sales Team Access Package, they’re able to automate this part of their process in a seamless manner.  

 

Example of creating a custom email in Logic Apps.Example of creating a custom email in Logic Apps.

 

Resources and feedback 

These are just a couple of the scenarios for how you can now address even more use cases with entitlement management by linking your access packages to custom workflows written with Azure Logic Apps. We encourage you to try it out and let us know what you think.

 

For more information, please view the documentation and video walkthrough 

We want to hear from you! Feel free to leave comments down below or reach out to us on aka.ms/AzureADFeedback.  

 

Learn more about Microsoft identity:

%3CLINGO-SUB%20id%3D%22lingo-sub-2466938%22%20slang%3D%22en-US%22%3ERun%20custom%20workflows%20in%20Azure%20AD%20entitlement%20management%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2466938%22%20slang%3D%22en-US%22%3E%3CP%3EAutomating%20complex%20processes%20for%20managing%20user%20access%20is%20now%20even%20easier%20with%20the%20recent%20introduction%20of%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fgovernance%2Fentitlement-management-logic-apps-integration%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSPAN%3Ecustom%20workflows%20in%20entitlement%20management%20using%20Azure%20Logic%20Apps%3C%2FSPAN%3E%3C%2FA%3E%2C%20and%20today%20we'd%20like%20to%20walk%20through%20a%20couple%20scenarios%20where%20you%20can%20use%20this%20new%20capability%20to%20customize%20the%20flow%20of%20on-%20and%20offboarding%20users%20to%20access%20packages.%20Being%20able%20to%20automate%20these%20processes%20reduces%20the%20amount%20of%20mistakes%20inherent%20in%20manual%20processes%20and%20frees%20up%20time%20to%20focus%20on%20other%20business%20priorities.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EProviding%20or%20removing%20access%20is%20not%20just%20about%20provisioning%20to%20resources%20like%20Teams%2C%20SharePoint%2C%20Groups%2C%20or%20apps.%20There%20are%20often%20additional%20steps%20organizations%20want%20to%20take%2C%20like%20sending%20an%20email%20or%20updating%20records%20in%20a%20database.%20Historically%2C%20these%20steps%20were%20often%20done%20manually.%20For%20example%2C%20with%20an%20understanding%20that%20the%20approver%20of%20an%20access%20package%20was%20also%20responsible%20for%20sending%20an%20email%20to%20the%20team%20about%20the%20newly%20onboarded%20person%2C%20or%20scripts%20were%20run%20periodically%20to%20notice%20changes%20in%20access%20package%20membership%20and%20make%20subsequent%20downstream%20changes.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBeing%20able%20to%20use%20specific%20events%20in%20entitlement%20management%3CSPAN%3E%20%E2%80%93%20such%20as%20when%20an%20access%20package%20request%20is%20approved%20or%20when%20user%20access%20expires%20%E2%80%93%20to%20trigger%20custom%20workflows%20can%20extend%20entitlement%20management%20with%20a%20bevy%20of%20native%20Microsoft%20cloud%20applications%20as%20well%20as%20external%20applications%20like%20Salesforce%20and%20ServiceNow%20to%20allow%20automation%20of%20formerly%20manual%20processes.%26nbsp%3BLet%E2%80%99s%20explore%20a%20couple%20ways%20our%20fictional%20company%20Contoso%20can%20take%20advantage%20of%20these%20capabilities.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CSTRONG%3ELink%20entitlement%20management%20to%20an%20external%20application%26nbsp%3B%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22paragraph%22%20style%3D%22margin%3A%200in%3B%20vertical-align%3A%20baseline%3B%22%3E%3CSPAN%20class%3D%22normaltextrun%22%3E%3CSPAN%20style%3D%22font-family%3A%20'Calibri'%2Csans-serif%3B%20color%3A%20black%3B%22%3EAs%20an%20example%2C%20Contoso%20uses%20Salesforce%20to%20manage%20deals%20and%20opportunities%20for%20its%20Sales%20team.%20The%20Sales%20team%20has%20an%20Access%20Package%20in%20Azure%20Active%20Directory%20(Azure%20AD)%20entitlement%20management%20to%20grant%20members%20of%20the%20Sales%20team%20access%20to%20relevant%20resources%20and%20SharePoint%20sites%20and%20provision%20their%20access%20into%20Salesforce.%20%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22eop%22%3E%3CSPAN%20style%3D%22font-family%3A%20'Calibri'%2Csans-serif%3B%20color%3A%20black%3B%22%3EIn%20addition%20to%20granting%20access%20to%20Salesforce%2C%20they%20want%20to%20make%20sure%20that%20new%20members%20of%20the%20Sales%20team%20are%20assigned%20to%20specific%20deals%20and%20contacts%20in%20Salesforce%2C%20and%20when%20people%20leave%20the%20team%20their%20deals%20and%20contacts%20are%20assigned%20to%20someone%20else%20on%20the%20team.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Here%2C%20the%20custom%20callout%20is%20created%2C%20and%20the%20customer%20adds%20the%20specific%20Logic%20App%20to%20the%20Catalog%20to%20invoke%20it%20on%20specific%20policy%20actions%20(such%20as%20access%20package%20assignment).%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F348135i969D8AE5C159C6DD%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22smoorhead_0-1644862613628.png%22%20alt%3D%22Here%2C%20the%20custom%20callout%20is%20created%2C%20and%20the%20customer%20adds%20the%20specific%20Logic%20App%20to%20the%20Catalog%20to%20invoke%20it%20on%20specific%20policy%20actions%20(such%20as%20access%20package%20assignment).%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EHere%2C%20the%20custom%20callout%20is%20created%2C%20and%20the%20customer%20adds%20the%20specific%20Logic%20App%20to%20the%20Catalog%20to%20invoke%20it%20on%20specific%20policy%20actions%20(such%20as%20access%20package%20assignment).%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22eop%22%3E%3CSPAN%20style%3D%22font-family%3A%20'Calibri'%2Csans-serif%3B%20color%3A%20black%3B%22%3EWhat%20used%20to%20be%20a%20manual%20process%20for%20updating%20Salesforce%20records%20can%20now%20be%20automated%20by%20configuring%20custom%20workflows.%20When%20a%20new%20user%20is%20approved%20for%20access%20to%20the%20Sales%20team%20Access%20Package%2C%20a%20Logic%20App%20is%20automatically%20triggered%20which%20also%20assigns%20that%20person%20to%20the%20appropriate%20deals%20and%20contacts.%20Likewise%2C%20when%20someone%20is%20removed%20from%20the%20Access%20Package%2C%20a%20different%20Logic%20App%20is%20automatically%20triggered%20and%20does%20the%20reassignment%20for%20the%20Salesforce%20artifacts%20they%20were%20responsible%20for.%20Automating%20these%20processes%20allows%20the%20team%20to%20focus%20more%20on%20getting%20actual%20work%20done%20rather%20than%20managing%20access.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22smoorhead_1-1644862613635.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F348136i7D06FA2B9CB77F13%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22smoorhead_1-1644862613635.png%22%20alt%3D%22smoorhead_1-1644862613635.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Notice%20how%20invoking%20a%20Logic%20App%20that%20edits%20Salesforce%E2%80%94tied%20to%20access%20package%20assignment%E2%80%94added%20a%20salesperson%20as%20a%20contact%20for%20a%20customer%20account.%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F348137i612D83AF58F19EA3%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22smoorhead_2-1644862613641.png%22%20alt%3D%22Notice%20how%20invoking%20a%20Logic%20App%20that%20edits%20Salesforce%E2%80%94tied%20to%20access%20package%20assignment%E2%80%94added%20a%20salesperson%20as%20a%20contact%20for%20a%20customer%20account.%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ENotice%20how%20invoking%20a%20Logic%20App%20that%20edits%20Salesforce%E2%80%94tied%20to%20access%20package%20assignment%E2%80%94added%20a%20salesperson%20as%20a%20contact%20for%20a%20customer%20account.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CSTRONG%3ESend%20custom%20emails%20linked%20to%20policies%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EContoso%20also%20wants%20to%20send%20an%20email%20to%20the%20Contoso%20Sales%20Team%20when%20a%20user%20is%20granted%20the%20Sales%20Team%20access%20package%2C%20so%20they%20are%20aware%20that%20a%20new%20sales%20member%20has%20joined%20the%20team.%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3EBy%20creating%20a%20simple%20Azure%20Logic%20App%20that%20invokes%20Outlook%20Web%20for%20Office%20365%20and%20triggering%20that%20when%20a%20user%20is%20approved%20for%20the%20Sales%20Team%20Access%20Package%2C%20they%E2%80%99re%20able%20to%20automate%20this%20part%20of%20their%20process%20in%20a%20seamless%20manner.%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Example%20of%20creating%20a%20custom%20email%20in%20Logic%20Apps.%22%20style%3D%22width%3A%20370px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F348138i1E32BC5A73E266A6%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22smoorhead_3-1644862613648.png%22%20alt%3D%22Example%20of%20creating%20a%20custom%20email%20in%20Logic%20Apps.%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EExample%20of%20creating%20a%20custom%20email%20in%20Logic%20Apps.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CSTRONG%3EResources%20and%20feedback%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThese%20are%20just%20a%20couple%20of%20the%20scenarios%20for%20how%20you%20can%20now%20address%20even%20more%20use%20cases%20with%20entitlement%20management%20by%20linking%20your%20access%20packages%20to%20custom%20workflows%20written%20with%20Azure%20Logic%20Apps%3C%2FSPAN%3E%3CSPAN%3E.%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3BWe%20encourage%20you%20to%20try%20it%20out%20and%20let%20us%20know%20what%20you%20think.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EFor%20more%20information%2C%20please%20view%20the%20%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fgovernance%2Fentitlement-management-logic-apps-integration%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSPAN%3Edocumentation%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%3E%20and%20%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DYh_Xl617JkM%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%3CSPAN%3Evideo%20walkthrough%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%3E.%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EWe%20want%20to%20hear%20from%20you!%20Feel%20free%20to%20leave%20comments%20down%20below%20or%20reach%20out%20to%20us%20on%20%3C%2FSPAN%3E%3CA%20href%3D%22http%3A%2F%2Faka.ms%2FAzureADFeedback%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSPAN%3Eaka.ms%2FAzureADFeedback%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%3E.%20%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CEM%3ELearn%20more%20about%20Microsoft%20identity%3A%3C%2FEM%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CEM%3ERelated%20Articles%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-active-directory-identity%2Fonboard-partners-more-easily-with-new-azure-ad-entitlement%2Fba-p%2F2466924%22%20target%3D%22_blank%22%3EOnboard%20partners%20more%20easily%20with%20new%20Azure%20AD%20entitlement%20management%20features%3C%2FA%3E%3C%2FEM%3E%3C%2FLI%3E%0A%3CLI%3E%3CEM%3EReturn%20to%20the%20%3C%2FEM%3E%3CA%20style%3D%22background-color%3A%20%23ffffff%3B%22%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-active-directory-identity%2Fbg-p%2FIdentity%22%20target%3D%22_blank%22%3E%3CEM%3EAzure%20Active%20Directory%20Identity%20blog%20home%3C%2FEM%3E%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CEM%3EJoin%20the%20conversation%20on%20%3C%2FEM%3E%3CA%20href%3D%22https%3A%2F%2Ftwitter.com%2Fazuread%2Fstatus%2F1278418103903363074%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%3CEM%3ETwitter%3C%2FEM%3E%3C%2FA%3E%3CEM%3E%20and%20%3C%2FEM%3E%3CA%20href%3D%22https%3A%2F%2Fwww.linkedin.com%2Fshowcase%2Fmicrosoft-security%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%3CEM%3ELinkedIn%3C%2FEM%3E%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CEM%20style%3D%22font-family%3A%20inherit%3B%22%3EShare%20product%20suggestions%20on%20the%20%3C%2FEM%3E%3CA%20style%3D%22font-family%3A%20inherit%3B%20background-color%3A%20%23ffffff%3B%22%20href%3D%22https%3A%2F%2Ffeedback.azure.com%2Fd365community%2Fforum%2F22920db1-ad25-ec11-b6e6-000d3a4f0789%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%3CEM%3EAzure%20Feedback%20Forum%3C%2FEM%3E%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2466938%22%20slang%3D%22en-US%22%3E%3CP%3E%3C!--StartFragment%20--%3E%3CSPAN%20class%3D%22cf0%22%3EBroaden%20lifecycle%20management%20and%20governance%20with%20entitlement%20management%20custom%20workflows.%3C%2FSPAN%3E%3C!--EndFragment%20--%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22cf0%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Azure%20AD%20entitlement%20management.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F350051i46DBB72F07699F4F%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Azure%20AD%20entitlement%20management.png%22%20alt%3D%22Azure%20AD%20entitlement%20management.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-TEASER%3E
Co-Authors
Version history
Last update:
‎Feb 21 2022 08:39 AM
Updated by: