Azure Active directory activities - Understanding the meaning

%3CLINGO-SUB%20id%3D%22lingo-sub-1493610%22%20slang%3D%22en-US%22%3EAzure%20Active%20directory%20activities%20-%20Understanding%20the%20meaning%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1493610%22%20slang%3D%22en-US%22%3E%3CP%3EAll%2C%3C%2FP%3E%3CP%3EWe%20are%20trying%20to%20setup%20alerts%20for%20activities%20performed%20at%20Azure%20AD%20level%20to%20audit%20the%20tenant.%20However%20we%20are%20not%20able%20to%20understand%20the%20meaning%20of%20few%20activities%20recorded%20in%20the%20audit%20logs.%20Two%20of%20them%20as%20below%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3COL%3E%3CLI%3EAdd%20app%20role%20assignment%20grant%20to%20user%3C%2FLI%3E%3CLI%3EAdd%20delegated%20permission%20grant%3C%2FLI%3E%3C%2FOL%3E%3CP%3EI%20did%20some%20practical%20and%20understood%20%22Add%20app%20role%20assignment%20grant%20to%20user%22%20is%20recorded%20when%20an%20Enterprise%20app%20is%20assigned%20to%20a%20user%20but%20need%20to%20check%20if%20there%20are%20more%20scenarios.%3C%2FP%3E%3CP%3EAlso%20no%20idea%20about%20%22Add%20delegated%20permission%20grant%22.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20tried%20to%20refer%20link%20as%20below%20but%20not%20much%20helpful%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Freports-monitoring%2Freference-audit-activities%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Freports-monitoring%2Freference-audit-activities%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20response%20will%20help%20me%20a%20lot.%20Thanks%20in%20advance.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1493610%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20AD%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAzure%20AD%20Apps%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1494838%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20Active%20directory%20activities%20-%20Understanding%20the%20meaning%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1494838%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F547432%22%20target%3D%22_blank%22%3E%40vivek_neonate%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAdd%20app%20role%20assignment%20grant%20to%20user%20%3D%26nbsp%3B%3CSPAN%3Ewhen%20you%20add%20%3CSTRONG%3Eapplication%20persmission%3C%2FSTRONG%3E%20to%20an%20app%20registration.%20For%20example%2C%20when%20you%20add%20delegated%20Graph%20API%20permissions%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EAdd%20delegated%20permission%20grant%20%3D%26nbsp%3B%20when%20you%20add%20%3CSTRONG%3Edelegated%20persmission%3C%2FSTRONG%3E%20to%20an%20app%20registration.%20For%20example%2C%20when%20you%20add%20application%20Graph%20API%20permissions%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2255-28-06-2020.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F201772iC9D967E98871F571%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%2255-28-06-2020.png%22%20alt%3D%2255-28-06-2020.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EConsent%20to%20application%20%3D%20when%20you%20add%20%3CSTRONG%3Eadmin%20consen%3C%2FSTRONG%3Et%20to%20that%20application%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2256-28-06-2020.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F201773i6CB27FD515F1D17E%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%2256-28-06-2020.png%22%20alt%3D%2256-28-06-2020.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1502073%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20Active%20directory%20activities%20-%20Understanding%20the%20meaning%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1502073%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F470541%22%20target%3D%22_blank%22%3E%40JanBakker330%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20the%20response.%20However%20when%20I%20performed%20the%20mentioned%20activities%20in%20my%20subscription%2C%20I%20could%20see%20they%20are%20tracked%20as%20below%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22vivek_neonate_0-1593626587008.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F202693iD170B4EE996CAB33%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22vivek_neonate_0-1593626587008.png%22%20alt%3D%22vivek_neonate_0-1593626587008.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%22Update%20Service%20principal%22%20OR%20%22Update%20Application%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20I%20want%20to%20see%20is%20the%20activity%20performed%20when%20it%20is%20tracked%20as%20below%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22vivek_neonate_1-1593626691294.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F202695i2836660053AB25C9%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22vivek_neonate_1-1593626691294.png%22%20alt%3D%22vivek_neonate_1-1593626691294.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EI%20have%20checked%20one%20scenario%20but%20other%20possibilities%20I%20can't%20reproduce.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

All,

We are trying to setup alerts for activities performed at Azure AD level to audit the tenant. However we are not able to understand the meaning of few activities recorded in the audit logs. Two of them as below:

 

  1. Add app role assignment grant to user
  2. Add delegated permission grant

I did some practical and understood "Add app role assignment grant to user" is recorded when an Enterprise app is assigned to a user but need to check if there are more scenarios.

Also no idea about "Add delegated permission grant".

 

I tried to refer link as below but not much helpful:

https://docs.microsoft.com/en-us/azure/active-directory/reports-monitoring/reference-audit-activitie...

 

Any response will help me a lot. Thanks in advance.

3 Replies

@vivek_neonate 

 

Add app role assignment grant to user = when you add application persmission to an app registration. For example, when you add delegated Graph API permissions

 

Add delegated permission grant =  when you add delegated persmission to an app registration. For example, when you add application Graph API permissions

 

55-28-06-2020.png

 

Consent to application = when you add admin consent to that application

 

56-28-06-2020.png

 

 

@JanBakkerOrphaned 

 

Thank you for the response. However when I performed the mentioned activities in my subscription, I could see they are tracked as below:

 

vivek_neonate_0-1593626587008.png

 

"Update Service principal" OR "Update Application"

 

What I want to see is the activity performed when it is tracked as below:

 

vivek_neonate_1-1593626691294.png

I have checked one scenario but other possibilities I can't reproduce.

 

Thanks 

@vivek_neonate 

 

Finally I was able to reproduce the issue. Below are my findings for these AD logs:

 

Add app role assignment grant to user is generated when an app is assigned to a user from the Enterprise app blade. User can access these assigned apps from myapp portal.

 

Add delegated permission grant can be seen when user tries to access the app from myapp portal and get a consent page. User clicks on "allow" and an entry will recorded in the AD Audit logs. A delegated Graph permission is granted from App registration's API permission tab. Eg:

 

vivek_neonate_0-1594821015791.png