Home
%3CLINGO-SUB%20id%3D%22lingo-sub-360218%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20AD%20Mailbag%3A%20Return%20Of%20The%20Mailbag%20with%20Azure%20AD%20Logs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-360218%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F58%22%20target%3D%22_blank%22%3E%40Vasil%20Michev%3C%2FA%3E%26nbsp%3BGreat%20to%20be%20back!%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F172883%22%20target%3D%22_blank%22%3E%40Christopher%20Brumm%3C%2FA%3E%26nbsp%3BThat's%20a%20great%20question.%20Let%20me%20look%20into%20it.%20I%20know%20it's%20sending%20email%20alerts.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F294699%22%20target%3D%22_blank%22%3E%40Peter_Beckendorf%3C%2FA%3E%26nbsp%3BWe'll%20do%20a%20post%20in%20the%20future%20around%20some%20of%20this.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-359715%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20AD%20Mailbag%3A%20Return%20Of%20The%20Mailbag%20with%20Azure%20AD%20Logs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-359715%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20for%20this%20good%20Night%20Job.%20%3B)%3C%2Fimg%3E%3C%2FP%3E%3CP%3ESince%20Friday%20Q7%2C%208%20and%209%20seem%20to%20be%20answered%20by%20MS%20themselve%2C%20as%20they%20released%20the%20Azure%20Sentinel%20as%20SIEM%20Tool%20for%20Preview.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-359457%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20AD%20Mailbag%3A%20Return%20Of%20The%20Mailbag%20with%20Azure%20AD%20Logs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-359457%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20for%20this%20great%20overview!%3C%2FP%3E%3CP%3EIs%20it%20possible%20to%20integrate%20the%20data%20collected%20by%20AAD%20Connect%20Health%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-359098%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20AD%20Mailbag%3A%20Return%20Of%20The%20Mailbag%20with%20Azure%20AD%20Logs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-359098%22%20slang%3D%22en-US%22%3E%3CP%3EGlad%20to%20have%20the%20Mailbag%20back%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-358499%22%20slang%3D%22en-US%22%3EAzure%20AD%20Mailbag%3A%20Return%20Of%20The%20Mailbag%20with%20Azure%20AD%20Logs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-358499%22%20slang%3D%22en-US%22%3E%3CP%3EGreetings!%20I%20am%20Sue%20Bohn%20and%20I%20lead%20the%20Identity%20Customer%20and%20Partner%20Success%20Team.%20The%20mission%20of%20our%20worldwide%20team%20is%20to%20cut%20the%20distance%20between%20our%20customers%20and%20engineering%20so%20we%20all%20can%20work%20effectively%20at%20cloud%20speed.%20We%20are%20restarting%20the%20mailbag%20series%20to%20augment%20our%20docs%20with%20popular%20questions%20we%20get%20about%20Azure%20Active%20Directory%20and%20to%20share%20deployment%20insights.%20Mark%20and%20I%20often%20commiserate%20good-naturedly%20that%20we%20have%20a%20'night%20job'%20as%20well%20as%20a%20'day%20job'%20in%20order%20to%20get%20everything%20done.%20One%20of%20Mark%E2%80%99s%20favorite%20night%20jobs%20is%20writing%20tips%20and%20tricks%20to%20make%20our%20customers%E2%80%99%20lives%20easier.%20Read%20on%20to%20hone%20your%20skills%20to%20extract%20the%20most%20value%20from%20Azure%20AD%20log%20files.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHey%2C%20y%E2%80%99all%20%3CA%20href%3D%22https%3A%2F%2Ftwitter.com%2Fmarkmorow%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EMark%3C%2FA%3E%20here.%20I%20am%20finally%20back%2C%20in%20blog%20form.%20To%20get%20us%20back%20into%20the%20swing%20of%20things%20we%20thought%20we%E2%80%99d%20cover%20a%20topic%20that%20would%20apply%20to%20everyone%2C%20Azure%20AD%20logs!%20If%20you%20haven%E2%80%99t%20spent%20much%20time%20in%20this%20space%2C%20you%20are%20missing%20out%20on%20a%20gold%20mine%20of%20information%20about%20your%20environment.%20Let%E2%80%99s%20dig%20in%20and%20see%20what%20we%20can%20find.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EQ1%3A%20I%20may%20have%20not%20been%20the%20most%20%E2%80%9Cdiligent%E2%80%9D%20when%20it%20comes%20to%20Azure%20AD%20logs%2C%20can%20you%20catch%20me%20up%20really%20quick.%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EA1%3A%20First%20off%2C%20this%20isn%E2%80%99t%20going%20to%20be%20really%20quick%20and%20for%20good%20reason.%20While%20this%20isn%E2%80%99t%20the%20most%20exciting%20stuff%2C%20it%E2%80%99s%20super%20important.%20Seriously.%20You%E2%80%99ll%20need%20this%20stuff%20for%20your%20day-to-day%20troubleshooting%20but%20more%20importantly%20for%20compliance%2C%20investigating%20a%20security%20event%2C%20data%20changes%20affecting%20dynamic%20group%20memberships.%20And%20when%20you%20want%20to%20see%20the%20rubber%20really%20hit%20the%20road%2C%20you%E2%80%99ll%20need%20this%20for%20due%20diligence%20if%20you%20must%20disclose%20a%20compromise.%20Being%20able%20to%20show%20that%20only%20a%20handful%20accounts%20were%20accessed%20versus%20the%20entire%20population%20will%20be%20a%20huge%2C%20huge%20deal.%20You%20can%20thank%20me%20later.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThere%20are%20two%20kinds%20of%20Azure%20AD%20activity%20reports%20in%3A%20Sign-In%20logs%20and%20Audit%20logs.%20Sign-In%20logs%20show%20the%20interactive%20sign-ins%20into%20Azure%20AD.%20You%E2%80%99ll%20see%20what%20application%20they%20were%20trying%20to%20access%2C%20if%20it%20was%20a%20success%20or%20a%20failure%2C%20the%20User%20Display%20Name%2C%20UPN%2C%20some%20MFA%20info%2C%20some%20other%20session%20conditions%20and%20some%20info%20about%20the%20client%E2%80%93like%20device%20ID%2C%20browser%2C%20and%20OS.%20These%20fields%20that%20can%20be%20selected%20under%20Columns.%3C%2FP%3E%3CP%3E%26nbsp%3B%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%20style%3D%22width%3A%20450px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F84778iC08164627ABE6C65%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22A1.png%22%20title%3D%22A1.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20will%20now%20channel%20our%20inner%20greatest%20detective%20(Sherlock%2C%20but%20probably%20Batman).%20Sign-In%20logs%20help%20us%20answer%20the%20following%20questions.%20%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSTRONG%3EWho%3C%2FSTRONG%3E%20signed%20in%3F%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EWhat%3C%2FSTRONG%3E%20did%20they%20access%3F%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EWhen%3C%2FSTRONG%3E%20did%20they%20access%3F%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EWhere%3C%2FSTRONG%3E%20did%20they%20access%20it%20from%3F%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EWhy%3C%2FSTRONG%3E%20did%20something%20happen%3F%20or%20not%3F%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EWhat%3C%2FSTRONG%3E%20type%20of%20authentication%20did%20users%20use%3F%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EWhich%3C%2FSTRONG%3E%20apps%20do%20not%20have%20any%20conditional%20access%20policies%20associated%20with%20them%3F%3C%2FLI%3E%3C%2FUL%3E%3CP%3EYou%20can%20also%20see%3A%3C%2FP%3E%3CUL%3E%3CLI%3ESome%20common%20tasks%20the%20Sign-In%20log%20was%20used%20for.%3C%2FLI%3E%3C%2FUL%3E%3CUL%3E%3CLI%3ESign-in%20pattern%20of%20user%2Fusers.%3C%2FLI%3E%3C%2FUL%3E%3CUL%3E%3CLI%3ETop%20sign-in%20errors%20with%20failure%20reasons.%3C%2FLI%3E%3C%2FUL%3E%3CUL%3E%3CLI%3EConditional%20access%20policies%20and%20Grant%20controls%20triggered%20by%20sign-ins.%3C%2FLI%3E%3CLI%3EApplication%20usage.%3C%2FLI%3E%3CLI%3ECommon%20browser%20and%20OS%20used.%3C%2FLI%3E%3C%2FUL%3E%3CP%3EFinally%20you%20can%3A%3C%2FP%3E%3CUL%3E%3CLI%3EInvestigate%20security%20incidents.%3C%2FLI%3E%3CLI%3EInvestigate%20sign-in%20failures.%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAudit%20logs%20have%20pretty%20much%20everything%20else.%20You%20can%20think%20of%20these%20as%20things%20that%20change%20the%20state%20of%20a%20resource.%20That%20would%20include%20things%20such%20as%20Password%20Resets%2C%20PIM%20elevations%2C%20TOU%20acceptance%2C%20B2B%20being%20redeemed.%20These%20are%20all%20selected%20under%20Category.%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%20style%3D%22width%3A%20363px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F84779iFE1CC13B7B3E233E%2Fimage-dimensions%2F363x717%3Fv%3D1.0%22%20width%3D%22363%22%20height%3D%22717%22%20alt%3D%22Audit.png%22%20title%3D%22Audit.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EPutting%20our%20detective%20hat%20back%20on%20we%20can%20determine%3A%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSTRONG%3EWho%3C%2FSTRONG%3E%20performed%20an%20action%3F%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EWhat%3C%2FSTRONG%3E%20changes%20were%20made%3F%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EWhen%3C%2FSTRONG%3E%20were%20the%20changes%20made%3F%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EWas%20%3C%2FSTRONG%3Eaction%20successful%3F%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EWhich%3C%2FSTRONG%3E%20object%20was%20the%20target%20of%20the%20action%3F%3C%2FLI%3E%3C%2FUL%3E%3CP%3EThis%20is%20a%20good%20spot%20to%20look%20if%20you%20want%20to%20see%20the%20SSPR%20reset%20events%2C%20Audit%20PIM%20events%2C%20or%20check%20on%20User%2FApp%20Provisioning.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EQ2%3A%20Who%20can%20access%20these%20reports%20in%20Azure%20AD%3F%20%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EA2%3A%20Global%20Admins%2C%20Security%20Admins%2C%20Security%20Readers%2C%20and%20Reports%20Readers%20can%20all%20access%20these%20reports.%20There%20is%20no%20difference%20in%20the%20data%20scope%20between%20these%20roles.%20What%20I%20mean%20by%20that%20is%20that%20Global%20Admin%20will%20see%20the%20same%20thing%20as%20the%20Security%20Reader.%20Users%20can%20access%20their%20own%20sign-in%20data.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EQ3%3A%20I%20have%20a%20federated%20domain%20and%20I%20think%20something%20is%20wrong%2C%20I%20only%20see%20successful%20sign-in%20events%2C%20no%20failures.%20What%20gives%3F%20%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EA3%3A%20This%20is%20expected%20if%20you%20think%20about%20it.%20The%20federated%20IDP%20is%20responsible%20for%20authenticating%20the%20user.%20If%20they%20fail%20to%20authenticate%2C%20the%20claim%20never%20makes%20it%20to%20Azure%20AD%20so%20it%20would%20never%20make%20it%20into%20the%20Azure%20AD%20logs.%20This%20is%20super%20important%20when%20doing%20an%20investigation.%20You%E2%80%99ll%20need%20to%20correlate%20across%20the%20Azure%20AD%20logs%20and%20your%20IDP.%20For%20AD%20FS%2C%20Azure%20AD%20Connect%20Health%20can%20really%20help.%20There%20are%20also%20some%20great%20tools%20to%20aid%20in%20searching%20and%20aggregating%20AD%20FS%20logs%20on%20the%20%3CU%3E%3CA%20href%3D%22https%3A%2F%2Fadfshelp.microsoft.com%2FTools%2FOfflineTools%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAD%20FS%20Help%3C%2FA%3E%3C%2FU%3E%20site.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EQ4%3A%20Speaking%20of%20which%2C%20where%20are%20Security%20Reports%20in%20all%20this%3F%20%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EA4%3A%20They%20got%20their%20own%20spot%2C%20depending%20if%20you%20have%20Azure%20AD%20P1%20or%20P2.%20For%20those%20with%20Azure%20AD%20P1%2C%20in%20the%20Azure%20AD%20blade%2C%20under%20Security%20you%E2%80%99ll%20see%20this%20menu%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%20style%3D%22width%3A%20337px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F84781i7A9A4C8EED2CEBEF%2Fimage-dimensions%2F337x268%3Fv%3D1.0%22%20width%3D%22337%22%20height%3D%22268%22%20alt%3D%22P1.png%22%20title%3D%22P1.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20have%20Azure%20Active%20Directory%20P2%2C%20you%20can%20see%20this%20menu%20in%20Identity%20Protection%20under%20Investigate%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%20style%3D%22width%3A%20333px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F84782iB42A488D813414E3%2Fimage-dimensions%2F333x211%3Fv%3D1.0%22%20width%3D%22333%22%20height%3D%22211%22%20alt%3D%22P2.png%22%20title%3D%22P2.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EThe%20difference%20between%20P1%20and%20P2%20is%20that%20P2%20will%20have%20the%20most%20detailed%20information%20about%20all%20underlying%20risk%20events%20and%20enables%20you%20to%20configure%20security%20policies%20that%20automatically%20respond%20to%20configured%20risk%20levels.%20%26nbsp%3BRead%20%3CU%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Factive-directory-reporting-risk-events%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Active%20Directory%20risk%20events%3C%2FA%3E%3C%2FU%3E%20to%20learn%20more.%20These%20events%20are%20also%20found%20in%20the%20Azure%20Security%20Center.%20%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EQ5%3A%20How%20do%20these%20reports%20differ%20from%20the%20Office%20365%20reports%3F%20These%20seem%20like%20they%20have%20similar%20data%2C%20but%20it%20looks%20different%3C%2FSTRONG%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EA5%3A%20They%E2%80%99re%20actually%20the%20same%20as%20they%E2%80%99re%20being%20collected%20from%20the%20same%20source%20but%20we%20each%20are%20displaying%20things%20differently%20as%20you%E2%80%99re%20observing.%20Not%20ideal%2C%20we%20know%20and%20we%E2%80%99re%20working%20to%20unify%20this%20so%20this%20type%20of%20question%20won't%20have%20to%20be%20asked.%20In%20the%20meantime%2C%20for%20Sign-In%20or%20Auditing%20events%2C%20use%20Azure%20AD.%20For%20Office%20365%20specific%2C%20use%20their%20logs.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EQ6%3A%20There%20is%20a%20lot%20of%20data%20in%20these%2C%20do%20you%20have%20something%20that%20is%20%E2%80%9Cmanager%20friendly%E2%80%9D%20aka%20has%20graphs%20and%20colors.%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EA6%3A%20That%20would%20be%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Factive-directory-reporting-power-bi-content-pack-how-to%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20AD%20Content%20Pack%3C%2FA%3E.%20Look%2C%20it%20even%20has%20a%20map!%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20890px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F84783i44AE3265490D8143%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22ContentPack.png%22%20title%3D%22ContentPack.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20a%20quick%20win.%20You%20can%20get%20this%20up%20and%20running%20in%20a%20few%20minutes%2C%20really.%20It%20shows%20App%20Usage%2C%20sign-ins%20by%20location%2C%20SSPR%20usage%20and%20Device%20info.%20Then%20you%20can%20start%20customizing%20it%20as%20you%20see%20fit.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EQ7%3A%20What%20is%20the%20best%20way%20to%20integrate%20all%20of%20this%20data%20into%20my%20SIEM%20tool%3F%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EA7%3A%20This%20used%20to%20be%20really%20painful.%20Now%2C%20this%20is%20achievable%20through%20a%20single%20configuration%20change.%20You%E2%80%99ll%20need%20to%20send%20the%20logs%20to%20an%20Azure%20Event%20Hub.%20Then%20we%20have%20several%20SIEMs%20that%20have%20pre-built%20integration%20to%20pull%20these%20logs.%20As%20of%20this%20writing%2C%20Splunk%2C%20IBM%20QRadar%20and%20Sumo%20Logic.%20If%20your%20SIEM%20doesn%E2%80%99t%20support%20this%20please%20tell%20them%2C%20we%E2%80%99re%20more%20than%20happy%20to%20help%20get%20them%20going.%20If%20not%2C%20you%20can%20also%20use%20the%20Event%20Hub%20APIs%20to%20pull%20the%20info%20down.%20We%20have%20it%20all%20%3CU%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Freports-monitoring%2Ftutorial-azure-monitor-stream-logs-to-event-hub%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Edocumented%3C%2FA%3E%3C%2FU%3E.%20For%20security%20events%2C%20these%20come%20from%20the%20Microsoft%20Intelligent%20Security%20Graph.%20You'll%20want%20to%20setup%20Azure%20Monitor%20to%20send%20the%20alerts%20to%20the%20same%20Event%20Hub.%20You%20can%20follow%20this%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fsecurity-siemintegration%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eguide%3C%2FA%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EQ8%3A%20My%20SIEM%20is%20a%20little%20bit%20like%20Hotel%20California%2C%20events%20check-in%20but%20they%20do%20not%20check%20out%2C%20do%20you%20have%20any%20key%20events%20I%20should%20be%20taking%20action%20on%3C%2FSTRONG%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EA8%3A%20You%E2%80%99re%20not%20alone.%20First%2C%20any%20High-Risk%20events%20from%20the%20security%20logs%20like%20Leaked%20Credentials%20or%20Users%20at%20high%20risk%20should%20be%20acted%20on%20immediately.%20For%20Medium%20Risk%20events%20such%20as%20TOR%20Browser%20logins%2C%20Unfamiliar%20Locations%2C%20Atypical%20Travel%20or%20Suspicious%20IP%20you%20will%20want%20to%20investigate%20and%20correlate%20with%20other%20data%20you%20have%20about%20that%20user.%3C%2FP%3E%3CP%3ENext%2C%20you%20will%20want%20to%20check%20your%20legacy%20authentications%20in%20the%20Sign-In%20logs.%20Using%20the%20Client%20App%20field%2C%20you%20can%20sort%20by%20different%20protocols%20such%20as%20IMAP%20and%20POP.%20We%20actually%20covered%20some%20of%20this%20at%20%26nbsp%3B%3CU%3E%3CA%20href%3D%22https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DwGk0J4z90GI%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EIgnite%202018.%3C%2FA%3E%3C%2FU%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CU%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F84785i14E7BCEC72E31381%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22SignInLogs.png%22%20title%3D%22SignInLogs.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FU%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3BSome%20other%20things%20that%20should%20make%20someone%20sit%20up%20and%20do%20something%20include%20promotion%20of%20accounts%20to%20an%20admin%20account%2C%20creation%20of%20accounts%20that%20look%20like%20service%20accounts%2Fhigh-value%20employees%2C%20updates%20to%20Service%20Principals%2C%20consent%20grants%20made%20by%20admins%2C%20removal%20of%20MFA%20requirements%2C%20and%20any%20changes%20or%20disablement%20of%20audit%20configuration.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFrom%20the%20Office%20365%20side%2C%20creation%20of%20mail%20forwarding%20rules%20in%20a%20mailbox%20or%20transport%20rule%20to%20an%20external%20domain%2C%20addition%20of%20mail%20forward%20permissions%20or%20mailbox%20delegates%2C%20creation%20of%20custom%20email%20forms%2C%20and%20changes%20to%20external%20sharing%20polices%20to%20name%20a%20few.%20The%20good%20folks%20over%20in%20Office%20365%20security%20have%20an%20%3CA%20href%3D%22https%3A%2F%2Fblogs.technet.microsoft.com%2Foffice365security%2Ffinding-illicit-activity-the-old-fashioned-way%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EEXCELLENT%20post%3C%2FA%3E%20on%20this.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EQ9%3A%20What%20if%20I%20don't%20already%20have%20an%20SIEM%20system%20to%20store%20and%20report%20on%20the%20Azure%20AD%20activity%20logs%3F%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EA9%3A%20Through%20the%20integration%20of%20Azure%20Security%20Monitor%2C%20you%20can%20emit%20your%20logs%20to%20an%20instance%20of%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Freports-monitoring%2Fhowto-integrate-activity-logs-with-log-analytics%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Log%20Analytics%3C%2FA%3E%2C%20where%20we%20even%20provide%20some%20sample%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Freports-monitoring%2Fhowto-install-use-log-analytics-views%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eviews%3C%2FA%3E%20to%20help%20you%20analyze%20that%20data.%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%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F84786i824EF1E48015B517%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22SecurityMonitor.png%22%20title%3D%22SecurityMonitor.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EQ10%3A%20Do%20you%20have%20a%20list%20of%20things%20everyone%20should%20do%3F%20%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EA10%3A%20If%20you%E2%80%99ve%20been%20following%20along%20on%20this%20post%20you%20should%20be%20in%20better%20shape%20than%20when%20you%20started%20but%20let%E2%80%99s%20recap.%3C%2FP%3E%3CUL%3E%3CLI%3EFirst%2C%20you%20want%20to%20make%20sure%20you%20enable%20audit%20logging%20but%20just%20clicking%20on%20the%20logs%20in%20the%20Azure%20AD%20Portal%20and%20selecting%20yes.%3C%2FLI%3E%3CLI%3ENext%2C%20the%20Azure%20AD%20Content%20Pack%20in%20Question%206%20is%20a%20no%20brainer%20and%20really%20takes%20minutes%20to%20get%20working.%3C%2FLI%3E%3CLI%3EThen%20you%E2%80%99ll%20want%20to%20get%20all%20this%20data%20flowing%20into%20your%20SIEM%20system%20by%20following%20Question%207%3C%2FLI%3E%3CLI%3EAnother%20thing%20that%20you%E2%80%99ll%20want%20to%20do%20is%20%3CU%3E%3CA%20href%3D%22https%3A%2F%2Fblogs.technet.microsoft.com%2Foffice365security%2Fusing-office-365-activity-data-to-improve-your-cybersecurity-stance-and-capability%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eenable%20all%20the%20auditing%20in%20Office%20365%3C%2FA%3E%3C%2FU%3E%20and%20read%20through%20the%20finding%20bad%20behavior%20in%20%3CU%3E%3CA%20href%3D%22https%3A%2F%2Fblogs.technet.microsoft.com%2Foffice365security%2Ffinding-illicit-activity-the-old-fashioned-way%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3ESecuring%20Office%20365%3C%2FA%3E%3C%2FU%3E%3C%2FLI%3E%3CLI%3ENext%20use%20Q8%20to%20make%20sure%20your%20SIEM%20is%20configured%20to%20alert%20your%20SOC%20or%20someone%20when%20those%20key%20events.%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3BFinally%2C%20a%20topic%20that%20is%20much%20too%20large%20for%20this%20post%2C%20does%20your%20company%20have%20an%20Incident%20Response%20plan%3F%20And%20does%20that%20plan%20include%20your%20PR%20team%3F%20You%20are%20probably%20thinking%20why%20would%20PR%20need%20to%20be%20a%20part%20of%20this%3F%20As%20I%20said%20in%20the%20intro%2C%20where%20you%E2%80%99ll%20really%20be%20glad%20you%E2%80%99ve%20spent%20your%20time%20on%20this%20when%20something%20truly%20bad%20has%20happened%20and%20PR%20must%20be%20involved.%20It%20will%20be%20much%20better%20for%20everyone%20if%20this%20isn%E2%80%99t%20their%20first%20foray%20into%20this%20arena%20when%20everything%20is%20at%20its%20worst%20possible.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20any%20questions%20you%20can%20reach%20us%20at%20%3CA%20href%3D%22mailto%3AAskAzureADBlog%40microsoft.com%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAskAzureADBlog%40microsoft.com%3C%2FA%3E%2C%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FAzure-Active-Directory%2Fct-p%2FAzureActiveDirectory%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3ETech%20Communities%3C%2FA%3E%20or%20on%20Twitter%20%3CA%20href%3D%22https%3A%2F%2Ftwitter.com%2FAzureAD%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%40AzureAD%3C%2FA%3E%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftwitter.com%2Fmarkmorow%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%40MarkMorow%3C%2FA%3E%26nbsp%3Band%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftwitter.com%2FAlex_A_Simons%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%40Alex_A_Simons%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%E2%80%94Mark%20Morowczynski%2C%20Dhanyah%20Krishnamoorthy%2C%20and%20Ryen%20Macababbad%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-358499%22%20slang%3D%22en-US%22%3E%3CP%3EAfter%20an%20extended%20vacation%20the%20Mailbag%20is%20back%20to%20answer%20your%20questions%20about%20Azure%20Active%20Directory%20Logs.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-358499%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ECustomer%20Partner%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft

Greetings! I am Sue Bohn and I lead the Identity Customer and Partner Success Team. The mission of our worldwide team is to cut the distance between our customers and engineering so we all can work effectively at cloud speed. We are restarting the mailbag series to augment our docs with popular questions we get about Azure Active Directory and to share deployment insights. Mark and I often commiserate good-naturedly that we have a 'night job' as well as a 'day job' in order to get everything done. One of Mark’s favorite night jobs is writing tips and tricks to make our customers’ lives easier. Read on to hone your skills to extract the most value from Azure AD log files.

 

Hey, y’all Mark here. I am finally back, in blog form. To get us back into the swing of things we thought we’d cover a topic that would apply to everyone, Azure AD logs! If you haven’t spent much time in this space, you are missing out on a gold mine of information about your environment. Let’s dig in and see what we can find.

 

Q1: I may have not been the most “diligent” when it comes to Azure AD logs, can you catch me up really quick.

 

A1: First off, this isn’t going to be really quick and for good reason. While this isn’t the most exciting stuff, it’s super important. Seriously. You’ll need this stuff for your day-to-day troubleshooting but more importantly for compliance, investigating a security event, data changes affecting dynamic group memberships. And when you want to see the rubber really hit the road, you’ll need this for due diligence if you must disclose a compromise. Being able to show that only a handful accounts were accessed versus the entire population will be a huge, huge deal. You can thank me later.

 

There are two kinds of Azure AD activity reports in: Sign-In logs and Audit logs. Sign-In logs show the interactive sign-ins into Azure AD. You’ll see what application they were trying to access, if it was a success or a failure, the User Display Name, UPN, some MFA info, some other session conditions and some info about the client–like device ID, browser, and OS. These fields that can be selected under Columns.

 

 

A1.png

 

We will now channel our inner greatest detective (Sherlock, but probably Batman). Sign-In logs help us answer the following questions.  

  • Who signed in?
  • What did they access?
  • When did they access?
  • Where did they access it from?
  • Why did something happen? or not?
  • What type of authentication did users use?
  • Which apps do not have any conditional access policies associated with them?

You can also see:

  • Some common tasks the Sign-In log was used for.
  • Sign-in pattern of user/users.
  • Top sign-in errors with failure reasons.
  • Conditional access policies and Grant controls triggered by sign-ins.
  • Application usage.
  • Common browser and OS used.

Finally you can:

  • Investigate security incidents.
  • Investigate sign-in failures.

 

Audit logs have pretty much everything else. You can think of these as things that change the state of a resource. That would include things such as Password Resets, PIM elevations, TOU acceptance, B2B being redeemed. These are all selected under Category.

 

Audit.png

Putting our detective hat back on we can determine:

  • Who performed an action?
  • What changes were made?
  • When were the changes made?
  • Was action successful?
  • Which object was the target of the action?

This is a good spot to look if you want to see the SSPR reset events, Audit PIM events, or check on User/App Provisioning.

 

Q2: Who can access these reports in Azure AD?

 

A2: Global Admins, Security Admins, Security Readers, and Reports Readers can all access these reports. There is no difference in the data scope between these roles. What I mean by that is that Global Admin will see the same thing as the Security Reader. Users can access their own sign-in data.

 

Q3: I have a federated domain and I think something is wrong, I only see successful sign-in events, no failures. What gives?

 

A3: This is expected if you think about it. The federated IDP is responsible for authenticating the user. If they fail to authenticate, the claim never makes it to Azure AD so it would never make it into the Azure AD logs. This is super important when doing an investigation. You’ll need to correlate across the Azure AD logs and your IDP. For AD FS, Azure AD Connect Health can really help. There are also some great tools to aid in searching and aggregating AD FS logs on the AD FS Help site.

 

Q4: Speaking of which, where are Security Reports in all this?

 

A4: They got their own spot, depending if you have Azure AD P1 or P2. For those with Azure AD P1, in the Azure AD blade, under Security you’ll see this menu:.

 

P1.png

 

If you have Azure Active Directory P2, you can see this menu in Identity Protection under Investigate:

 

P2.png

The difference between P1 and P2 is that P2 will have the most detailed information about all underlying risk events and enables you to configure security policies that automatically respond to configured risk levels.  Read Azure Active Directory risk events to learn more. These events are also found in the Azure Security Center.  

 

Q5: How do these reports differ from the Office 365 reports? These seem like they have similar data, but it looks different.

 

A5: They’re actually the same as they’re being collected from the same source but we each are displaying things differently as you’re observing. Not ideal, we know and we’re working to unify this so this type of question won't have to be asked. In the meantime, for Sign-In or Auditing events, use Azure AD. For Office 365 specific, use their logs.

 

Q6: There is a lot of data in these, do you have something that is “manager friendly” aka has graphs and colors.

 

A6: That would be the Azure AD Content Pack. Look, it even has a map!

ContentPack.png

 

This is a quick win. You can get this up and running in a few minutes, really. It shows App Usage, sign-ins by location, SSPR usage and Device info. Then you can start customizing it as you see fit.

 

Q7: What is the best way to integrate all of this data into my SIEM tool?

 

A7: This used to be really painful. Now, this is achievable through a single configuration change. You’ll need to send the logs to an Azure Event Hub. Then we have several SIEMs that have pre-built integration to pull these logs. As of this writing, Splunk, IBM QRadar and Sumo Logic. If your SIEM doesn’t support this please tell them, we’re more than happy to help get them going. If not, you can also use the Event Hub APIs to pull the info down. We have it all documented. For security events, these come from the Microsoft Intelligent Security Graph. You'll want to setup Azure Monitor to send the alerts to the same Event Hub. You can follow this guide.

 

Q8: My SIEM is a little bit like Hotel California, events check-in but they do not check out, do you have any key events I should be taking action on.

 

A8: You’re not alone. First, any High-Risk events from the security logs like Leaked Credentials or Users at high risk should be acted on immediately. For Medium Risk events such as TOR Browser logins, Unfamiliar Locations, Atypical Travel or Suspicious IP you will want to investigate and correlate with other data you have about that user.

Next, you will want to check your legacy authentications in the Sign-In logs. Using the Client App field, you can sort by different protocols such as IMAP and POP. We actually covered some of this at  Ignite 2018.

 

SignInLogs.png

 

 Some other things that should make someone sit up and do something include promotion of accounts to an admin account, creation of accounts that look like service accounts/high-value employees, updates to Service Principals, consent grants made by admins, removal of MFA requirements, and any changes or disablement of audit configuration.

 

From the Office 365 side, creation of mail forwarding rules in a mailbox or transport rule to an external domain, addition of mail forward permissions or mailbox delegates, creation of custom email forms, and changes to external sharing polices to name a few. The good folks over in Office 365 security have an EXCELLENT post on this.

 

Q9: What if I don't already have an SIEM system to store and report on the Azure AD activity logs?

 

A9: Through the integration of Azure Security Monitor, you can emit your logs to an instance of Azure Log Analytics, where we even provide some sample views to help you analyze that data.

 

SecurityMonitor.png

 

Q10: Do you have a list of things everyone should do?

 

A10: If you’ve been following along on this post you should be in better shape than when you started but let’s recap.

  • First, you want to make sure you enable audit logging but just clicking on the logs in the Azure AD Portal and selecting yes.
  • Next, the Azure AD Content Pack in Question 6 is a no brainer and really takes minutes to get working.
  • Then you’ll want to get all this data flowing into your SIEM system by following Question 7
  • Another thing that you’ll want to do is enable all the auditing in Office 365 and read through the finding bad behavior in Securing Office 365
  • Next use Q8 to make sure your SIEM is configured to alert your SOC or someone when those key events.

 Finally, a topic that is much too large for this post, does your company have an Incident Response plan? And does that plan include your PR team? You are probably thinking why would PR need to be a part of this? As I said in the intro, where you’ll really be glad you’ve spent your time on this when something truly bad has happened and PR must be involved. It will be much better for everyone if this isn’t their first foray into this arena when everything is at its worst possible.

 

For any questions you can reach us at AskAzureADBlog@microsoft.com, Tech Communities or on Twitter @AzureAD@MarkMorow and @Alex_A_Simons

 

—Mark Morowczynski, Dhanyah Krishnamoorthy, and Ryen Macababbad

4 Comments

Glad to have the Mailbag back :)

Occasional Contributor

Thank you for this great overview!

Is it possible to integrate the data collected by AAD Connect Health?

Occasional Contributor

Thank you for this good Night Job. ;)

Since Friday Q7, 8 and 9 seem to be answered by MS themselve, as they released the Azure Sentinel as SIEM Tool for Preview.

@Vasil Michev Great to be back!

@Christopher Brumm That's a great question. Let me look into it. I know it's sending email alerts. 

@Peter_Beckendorf We'll do a post in the future around some of this.