Home
%3CLINGO-SUB%20id%3D%22lingo-sub-252040%22%20slang%3D%22en-US%22%3EDiscovery%20of%20Sensitive%20Data%20Using%20the%20AIP%20Scanner%20(AIP%20Premium%20P1)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-252040%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20Azure%20Information%20Protection%20Scanner%20is%20a%20program%20designed%20to%20detect%2C%26nbsp%3Bclassify%2C%20and%20optionally%20protecting%20documents%20stored%20on%20File%20Shares%20and%20On-Premises%20SharePoint%20servers.%20The%20overview%20below%20is%20from%20the%20official%20documentation%20at%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Finformation-protection%2Fdeploy-use%2Fdeploy-aip-scanner%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Finformation-protection%2Fdeploy-use%2Fdeploy-aip-scanner%3C%2FA%3E.%26nbsp%3B%20This%20blog%20post%20is%20meant%20to%20assist%20customers%20and%20partners%20with%20deployment%20of%20the%20AIP%20Scanner.%26nbsp%3B%20If%20there%20is%20ever%20a%20conflict%20between%20this%20blog%20and%20the%20official%20documentation%2C%20the%20official%20documentation%20is%20authoritative.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3CIMG%20src%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Finformation-protection%2Fmedia%2Finfoprotect-scanner.png%22%20border%3D%220%22%20alt%3D%22Azure%20Information%20Protection%20scanner%20architecture%20overview%22%20width%3D%22451%22%20height%3D%22299%22%20%2F%3E%3C%2FP%3E%0A%3CP%3EThe%20AIP%20Scanner%20runs%20as%20a%20service%20on%20Windows%20Server%20and%20lets%20you%20discover%2C%20classify%2C%20and%20protect%20files%20on%20the%20following%20data%20stores%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ELocal%20folders%20on%20the%20Windows%20Server%20computer%20that%20runs%20the%20scanner.%3C%2FLI%3E%0A%3CLI%3EUNC%20paths%20for%20network%20shares%20that%20use%20the%20Common%20Internet%20File%20System%20(CIFS)%20protocol.%3C%2FLI%3E%0A%3CLI%3ESites%20and%20libraries%20for%20SharePoint%20Server%202010*%2C%202013%2C%20and%202016.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E*SharePoint%202010%20support%20is%20only%20available%20with%20a%20valid%20extended%20support%20contract%20for%20that%20product.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20scanner%20can%20inspect%20any%20files%20that%20Windows%20can%20index%2C%20by%20using%26nbsp%3BiFilters%26nbsp%3Bthat%20are%20installed%20on%20the%20computer.%20Then%2C%20to%20determine%20if%20the%20files%20need%20labeling%2C%20the%20scanner%20uses%20the%20Office%20365%20built-in%20data%20loss%20prevention%20(DLP)%20sensitivity%20information%20types%20and%20pattern%20detection%2C%20or%20Office%20365%20regex%20patterns.%20Because%20the%20scanner%20uses%20the%20Azure%20Information%20Protection%20client%2C%20it%20can%20classify%20and%20protect%20the%20same%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Finformation-protection%2Frms-client%2Fclient-admin-guide-file-types%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Efile%20types%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWith%20an%20AIP%20Premium%20P1%20license%2C%20you%20can%20run%20the%20scanner%20in%20discovery%20mode%20and%20use%20the%20information%20obtained%20in%20the%20reports%20to%20make%26nbsp%3Bmore%20informed%20decisions%20based%20on%20your%20exposure%20to%20risk.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000ff%22%3ENOTE%3A%20The%20scanner%20does%20not%20discover%20and%20label%20in%20real%20time.%20It%20systematically%20crawls%20through%20files%20on%20data%20stores%20that%20you%20specify%2C%20and%20you%20can%20configure%20this%20cycle%20to%20run%20once%2C%20or%20repeatedly.%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20blog%20post%20was%20written%20based%20on%20the%26nbsp%3B%3CSTRONG%3Epublic%20preview%3C%2FSTRONG%3E%26nbsp%3Bversion%20of%20the%20AIP%20Scanner%20(%3CSTRONG%3E1.36.18.0%3C%2FSTRONG%3E).%26nbsp%3B%20Every%20effort%20will%20be%20made%20to%20update%20it%20when%20things%20change%2C%20but%20if%20you%20run%20into%20difficulty%20running%20any%20of%20the%20commands%20on%20a%20newer%20version%2C%20please%20use%20the%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Finformation-protection%2Fdeploy-use%2Fdeploy-aip-scanner%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eofficial%20documentation%3C%2FA%3E%26nbsp%3Bto%20identify%20any%20changes.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E***NOTE%3A%20This%20post%20shows%20only%26nbsp%3Bthe%20features%26nbsp%3Bpossible%20with%20an%20Azure%20Information%20Protection%20P1%20license%20and%20does%20not%20cover%20the%20additional%20classification%26nbsp%3Band%20protection%26nbsp%3Bfeatures%20of%26nbsp%3Bthe%20AIP%20scanner.%26nbsp%3B%20If%20you%20have%20AIP%20Premium%20P2%2C%20please%20review%20the%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FAzure-Information-Protection%2FInstallation-Configuration-and-Usage-of-the-AIP-Scanner%2Fba-p%2F221792%22%20target%3D%22_blank%22%3Eblog%26nbsp%3Bhere%3C%2FA%3E%26nbsp%3Bfor%20full%20details***%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1646464991%22%20id%3D%22toc-hId-1649258461%22%20id%3D%22toc-hId-1702975607%22%3E%3CSTRONG%3EPrerequisites%3A%3C%2FSTRONG%3E%3C%2FH2%3E%0A%3CP%3ETo%20install%20the%20AIP%20Scanner%20in%20a%20production%20environment%2C%20the%20following%20items%20are%20needed%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EA%20Windows%20Server%202012%20R2%20or%202016%20Server%20to%20run%20the%20service%3C%2FLI%3E%0A%3CUL%3E%0A%3CLI%3EMinimum%204%20CPU%20and%204GB%20RAM%20physical%20or%20virtual%26nbsp%3B%3CBR%20%2F%3E%3CFONT%20color%3D%22%230000ff%22%3ENOTE%3A%20TL%3BDR%3A%20More%20RAM%20is%20better.%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%230000ff%22%3EThe%20scanner%20will%20allocate%20RAM%202.5-3%20times%20of%20size%20of%20all%20files%20being%20scanned%20in%20parallel.%26nbsp%3B%20Thus%2C%20if%20you%20scan%2040%20files%20that%20are%2020MB%20each%20at%20the%20same%20time%2C%20it%20should%20take%20about%2020*2.5*40%3D2GB%20RAM.%20However%2C%20if%20you%20have%20one%20big%201GB%20file%20it%20can%20take%203GB%20of%20RAM%20just%20for%20that%20file.%26nbsp%3B%26nbsp%3B%3C%2FFONT%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Finformation-protection%2Fget-started%2Frequirements%23firewalls-and-network-infrastructure%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EInternet%20connectivity%3C%2FA%3E%26nbsp%3Bnecessary%20for%20Azure%20Information%20Protection%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CLI%3EA%26nbsp%3BSQL%20Server%202012%2B%20local%20or%20remote%20instance%20(Any%20version%20from%20Express%20or%20better%20is%20supported)%3C%2FLI%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3ESysadmin%20role%20needed%3C%2FSTRONG%3E%26nbsp%3Bto%26nbsp%3B%3CSTRONG%3Einstall%3C%2FSTRONG%3E%26nbsp%3Bscanner%20service%20(user%20running%20Install-AIPScanner%2C%20not%20the%20service%20account)%3CBR%20%2F%3E%3CFONT%20color%3D%22%23ff0000%22%3ENOTE%3A%20If%20using%20SQL%20Server%20Express%2C%20the%20SQL%20Instance%20name%20is%26nbsp%3BServerName%5CSQLExpress%3C%2FFONT%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CLI%3EService%20account%20created%20in%20On%20Premises%20AD%20and%20synchronized%20with%20Azure%20AD%20(I%20will%20call%20this%20account%20AIPScanner%20in%20this%20document)%3C%2FLI%3E%0A%3CUL%3E%0A%3CLI%3EService%20requires%26nbsp%3B%3CSTRONG%3ELog%20on%20locally%3C%2FSTRONG%3E%26nbsp%3Bright%20and%26nbsp%3B%3CSTRONG%3ELog%20on%20as%20a%20service%3C%2FSTRONG%3E%26nbsp%3Bright%20(the%20second%20will%20be%20given%20during%20scanner%20service%20install)%3C%2FLI%3E%0A%3CLI%3EService%20account%20requires%26nbsp%3B%3CSTRONG%3ERead%3C%2FSTRONG%3E%26nbsp%3Bpermissions%20to%20each%20repository%20for%20discovery%20and%26nbsp%3B%3CSTRONG%3ERead%2FWrite%3C%2FSTRONG%3E%26nbsp%3Bpermissions%20for%20classification%2Fprotection%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CLI%3E%3CSTRONG%3EAzInfoProtection_PREVIEW_1.36.18.0.exe%3C%2FSTRONG%3E%20available%20on%20the%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fdownload%2Fdetails.aspx%3Fid%3D53018%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EMicrosoft%20Download%20Center%3C%2FA%3E%26nbsp%3B(The%20scanner%20bits%20are%20included%20with%20the%20AIP%20Client)%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH2%20id%3D%22toc-hId--905691970%22%20id%3D%22toc-hId--902898500%22%20id%3D%22toc-hId--849181354%22%3E%3CSTRONG%3EInstallation%3A%3C%2FSTRONG%3E%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ENOTE%3A%20We%20have%20scripted%20the%20scanner%20installation%20process%20and%20it%20is%20now%20available%20at%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FAzure-Information-Protection%2FAzure-Information-Protection-Scanner-Express-Installation%2Fba-p%2F265424%22%20target%3D%22_self%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FAzure-Information-Protection%2FAzure-Information-Protection-Scanner-Express-Installation%2Fba-p%2F265424%3C%2FA%3E.%20Although%20these%20steps%20are%20still%20valid%2C%20the%20scripted%20method%20is%20far%20less%20prone%20to%20mistakes%20and%20much%20faster%20for%20deployment.%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EA%20basic%20installation%20of%20the%20AIP%20Scanner%20service%20is%20simple%20and%20straightforward.%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3ELog%20onto%20the%20server%20where%20you%20will%20install%20the%20AIP%20Scanner%20service%20using%20an%20account%20that%20is%20a%26nbsp%3B%3CSTRONG%3Elocal%20administrator%20of%20the%20server%3C%2FSTRONG%3E%26nbsp%3Band%26nbsp%3B%3CSTRONG%3Ehas%20permission%20to%20write%20to%20the%20SQL%20Server%20master%20database%3C%2FSTRONG%3E.%20(more%20restrictive%20scenarios%20are%20documented%20in%20the%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Finformation-protection%2Fdeploy-use%2Fdeploy-aip-scanner%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eofficial%20documentation%3C%2FA%3E)%3C%2FLI%3E%0A%3CLI%3ERun%26nbsp%3B%3CSTRONG%3EAzInfoProtection_PREVIEW_1.36.18.0.exe%26nbsp%3B%3C%2FSTRONG%3Eon%20the%20server%20and%20step%20through%20the%20client%20install%20(this%20also%20drops%20the%20AIP%20Scanner%20bits)%3C%2FLI%3E%0A%3CLI%3ENext%2C%20Right-click%20on%20the%26nbsp%3B%3CSTRONG%3EWindows%3C%2FSTRONG%3E%26nbsp%3Bbutton%20in%20the%20lower%20left-hand%20corner%20and%20click%20on%26nbsp%3B%3CSTRONG%3ECommand%20Prompt%20(Admin)%3C%2FSTRONG%3E%3CSTRONG%3E%3CIMG%20src%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2018%2F03%2F021.png%22%20border%3D%220%22%20alt%3D%22Start%20Menu%22%20%2F%3E%3C%2FSTRONG%3E%26nbsp%3B%3CBR%20%2F%3E%3C%2FLI%3E%0A%3CLI%3EType%26nbsp%3B%3CSTRONG%3EPowerShell%26nbsp%3B%3C%2FSTRONG%3Eand%20hit%26nbsp%3B%3CSTRONG%3EEnter%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CIMG%20src%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2018%2F03%2F03.png%22%20border%3D%220%22%20alt%3D%22PowerShell%22%20%2F%3E%3C%2FLI%3E%0A%3CLI%3EAt%20the%20PowerShell%20prompt%2C%20type%20the%20following%20command%20and%20press%26nbsp%3B%3CSTRONG%3EEnter%3C%2FSTRONG%3E%3A%3CBR%20%2F%3E%3CSTRONG%3E%3CEM%3EInstall-AIPScanner%3C%2FEM%3E%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3CLI%3EWhen%20prompted%2C%20provide%20the%20credentials%20for%20the%26nbsp%3B%3CSTRONG%3Escanner%20service%20account%3C%2FSTRONG%3E%26nbsp%3B(YourDomain%5CAIPScanner)%20and%26nbsp%3B%3CSTRONG%3Epassword%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3CLI%3EWhen%20prompted%20for%26nbsp%3B%3CSTRONG%3ESqlServerInstance%3C%2FSTRONG%3E%2C%20enter%20the%26nbsp%3B%3CSTRONG%3Ename%20of%20your%20SQL%20Server%3C%2FSTRONG%3E%26nbsp%3Band%20press%26nbsp%3B%3CSTRONG%3EEnter%3C%2FSTRONG%3E%3CBR%20%2F%3EYou%20should%20see%20a%20success%20message%20like%20the%20one%20below%3CBR%20%2F%3E%3CIMG%20src%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2018%2F03%2F041.png%22%20border%3D%220%22%20%2F%3E%3CFONT%20color%3D%22%23ff0000%22%3E%3CSTRONG%3ENOTE%3A%20If%20you%20get%20any%20errors%20at%20this%20point%2C%20verify%20network%20connectivity%20and%20resolve%20any%20permissions%20issues%20with%20the%20SQL%20Database%20before%20proceeding!%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FLI%3E%0A%3CLI%3ERight-click%20on%20the%26nbsp%3B%3CSTRONG%3EWindows%26nbsp%3B%3C%2FSTRONG%3Ebutton%20in%20the%20lower%20left-hand%20corner%20and%20click%20on%26nbsp%3B%3CSTRONG%3ERun%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3CLI%3EIn%20the%20Run%20dialog%2C%20type%26nbsp%3B%3CSTRONG%3Eservices.msc%3C%2FSTRONG%3E%26nbsp%3Band%20click%26nbsp%3B%3CSTRONG%3EOK%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CIMG%20src%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2018%2F03%2F061.png%22%20border%3D%220%22%20alt%3D%22Services%22%20%2F%3E%3C%2FLI%3E%0A%3CLI%3EIn%20the%20Services%20console%2C%20double-click%20on%20the%26nbsp%3B%3CSTRONG%3EAzure%20Information%20Protection%20Scanner%3C%2FSTRONG%3E%26nbsp%3Bservice%3C%2FLI%3E%0A%3CLI%3EOn%20the%26nbsp%3B%3CSTRONG%3ELog%20On%20tab%3C%2FSTRONG%3E%26nbsp%3Bof%20the%20Azure%20Information%20Protection%20Scanner%20Service%20Properties%2C%20verify%20that%26nbsp%3B%3CSTRONG%3ELog%20on%20as%3A%3C%2FSTRONG%3E%26nbsp%3Bis%20set%20to%20the%26nbsp%3B%3CSTRONG%3EYourDomain%5CAIPScanner%3C%2FSTRONG%3E%26nbsp%3Bservice%20account%3CBR%20%2F%3E%3CIMG%20src%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2018%2F03%2F071.png%22%20border%3D%220%22%20alt%3D%22logon%22%20%2F%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CH2%20id%3D%22toc-hId-837118365%22%20id%3D%22toc-hId-839911835%22%20id%3D%22toc-hId-893628981%22%3E%3CSTRONG%3EScanner%20Configuration%3A%3C%2FSTRONG%3E%3C%2FH2%3E%0A%3CP%3EAfter%20the%20install%20of%20the%20AIP%20Scanner%20binaries%2C%20you%20must%20authenticate%20with%20the%20AIP%20Scanner%20Service%20Account%20to%20get%20a%20token%20for%20use%20in%20automated%20discovery%2C%20classification%2C%20and%20protection.%3C%2FP%3E%0A%3CP%3EAuthentication%20Token%3A%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EOn%20the%20server%20where%20you%20installed%20the%20scanner%2C%20create%20a%20new%20text%20document%20on%20the%20desktop%20and%20name%20it%20something%20like%26nbsp%3BSet-AIPAuthentication.txt%3C%2FLI%3E%0A%3CUL%3E%0A%3CLI%3EIn%20this%20document%2C%20paste%20the%20line%20of%20PowerShell%20code%20below%20and%20save%3CBR%20%2F%3E%3CSTRONG%3ESet-AIPAuthentication%20-webAppId%20%3CID%20of%3D%22%22%20the%3D%22%22%3E%20-webAppKey%20%3CKEY%20value%3D%22%22%20generated%3D%22%22%20in%3D%22%22%20the%3D%22%22%3E%20-nativeAppId%20%3CID%20of%3D%22%22%20the%3D%22%22%3E%3C%2FID%3E%3C%2FKEY%3E%3C%2FID%3E%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CLI%3EOpen%20Internet%20Explorer%20and%20browse%20to%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fportal.azure.com%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSTRONG%3Ehttps%3A%2F%2Fportal.azure.com%3C%2FSTRONG%3E%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3EAt%20the%20Sign%20in%20to%20Microsoft%20Azure%20page%2C%20enter%20the%20your%20tenant%20global%20admin%20credentials%3C%2FLI%3E%0A%3CLI%3EIn%20the%20Microsoft%20Azure%20portal%2C%20click%20on%26nbsp%3B%3CSTRONG%3EAzure%20Active%20Directory%3C%2FSTRONG%3E%26nbsp%3Bin%20the%20left-hand%20pane%3CBR%20%2F%3E%3CIMG%20src%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2018%2F03%2F081.png%22%20border%3D%220%22%20%2F%3E%3C%2FLI%3E%0A%3CLI%3EUnder%26nbsp%3B%3CSTRONG%3EManage%3C%2FSTRONG%3E%2C%20click%20on%26nbsp%3B%3CSTRONG%3EApp%20registrations%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CIMG%20src%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2018%2F03%2F091.png%22%20border%3D%220%22%20%2F%3E%3C%2FLI%3E%0A%3CLI%3EIn%20the%26nbsp%3B%3CSTRONG%3EApp%20registrations%26nbsp%3B%3C%2FSTRONG%3Eblade%2C%20click%20the%26nbsp%3B%3CSTRONG%3E%2B%20New%20application%20registration%3C%2FSTRONG%3E%26nbsp%3Bbutton%3C%2FLI%3E%0A%3CLI%3EIn%20the%26nbsp%3B%3CSTRONG%3ECreate%3C%2FSTRONG%3E%26nbsp%3Bblade%2C%20use%20the%20values%26nbsp%3Bshown%20below%20to%20create%20the%20registration%3CBR%20%2F%3E%3CIMG%20src%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2018%2F03%2F1114.png%22%20border%3D%220%22%20%2F%3E%3C%2FLI%3E%0A%3CLI%3EClick%20the%26nbsp%3B%3CSTRONG%3ECreate%3C%2FSTRONG%3E%26nbsp%3Bbutton%20to%20complete%20the%20app%20registration%3C%2FLI%3E%0A%3CLI%3EIn%20the%26nbsp%3B%3CSTRONG%3EAIPOnBehalfOf%3C%2FSTRONG%3E%26nbsp%3Bblade%2C%20hover%20the%20mouse%20over%20the%26nbsp%3B%3CSTRONG%3EApplication%20ID%3C%2FSTRONG%3E%26nbsp%3Band%20click%20on%20the%26nbsp%3B%3CSTRONG%3EClick%20to%20copy%26nbsp%3B%3C%2FSTRONG%3Eicon%20when%20it%20appears%3CIMG%20src%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2018%2F03%2F1211.png%22%20border%3D%220%22%20%2F%3E%3C%2FLI%3E%0A%3CLI%3EMinimize%20(%3CSTRONG%3EDO%20NOT%20CLOSE%3C%2FSTRONG%3E)%20Internet%20Explorer%20and%20other%20windows%20to%20show%20the%20desktop%3C%2FLI%3E%0A%3CLI%3EOn%20the%20desktop%2C%20return%20to%26nbsp%3B%3CSTRONG%3ESet-AIPAuthentication.txt%3C%2FSTRONG%3E%26nbsp%3Band%20replace%20%3CID%20of%3D%22%22%20the%3D%22%22%3E%20with%20the%26nbsp%3B%3CSTRONG%3Ecopied%20Application%20ID%20value%3CBR%20%2F%3E%3C%2FSTRONG%3Eand%26nbsp%3B%3CSTRONG%3ESave%3CBR%20%2F%3E%3C%2FSTRONG%3E%3CIMG%20src%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2018%2F03%2F138.png%22%20border%3D%220%22%20%2F%3E%3CFONT%20color%3D%22%23ff0000%22%3E%3CSTRONG%3EWARNING%3A%20Ensure%20there%20is%20only%20a%20single%20space%20after%20the%20Application%20ID%20before%20-webAppKey%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FID%3E%3C%2FLI%3E%0A%3CLI%3EReturn%20to%20the%20browser%20and%20click%20on%20the%26nbsp%3B%3CSTRONG%3ESettings%26nbsp%3B%3C%2FSTRONG%3Ebutton%3CBR%20%2F%3E%3CIMG%20src%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2018%2F03%2F145.png%22%20border%3D%220%22%20%2F%3E%3C%2FLI%3E%0A%3CLI%3EIn%20the%26nbsp%3B%3CSTRONG%3ESettings%3C%2FSTRONG%3E%26nbsp%3Bblade%2C%20under%26nbsp%3B%3CSTRONG%3EAPI%20ACCESS%3C%2FSTRONG%3E%2C%20click%20on%26nbsp%3B%3CSTRONG%3EKeys%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CIMG%20src%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2018%2F03%2F155.png%22%20border%3D%220%22%20%2F%3E%3C%2FLI%3E%0A%3CLI%3EIn%20the%26nbsp%3B%3CSTRONG%3EKeys%3C%2FSTRONG%3E%26nbsp%3Bblade%2C%20add%20a%26nbsp%3B%3CSTRONG%3Enew%20key%3C%2FSTRONG%3E%26nbsp%3Bby%20typing%26nbsp%3B%3CSTRONG%3EAIPClient%26nbsp%3B%3C%2FSTRONG%3Ein%20the%26nbsp%3BKey%20description%26nbsp%3Bfield%20and%20your%26nbsp%3Bchoice%20of%20duration%26nbsp%3B(1%20year%2C%202%20years%2C%20or%20never%20expires)%3CIMG%20src%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2018%2F03%2F165.png%22%20border%3D%220%22%20%2F%3E%3C%2FLI%3E%0A%3CLI%3ESelect%26nbsp%3B%3CSTRONG%3ESave%26nbsp%3B%3C%2FSTRONG%3Eand%26nbsp%3B%3CSTRONG%3Ecopy%20the%20Value%3C%2FSTRONG%3E%26nbsp%3Bthat%20is%20displayed%3CBR%20%2F%3E%3CFONT%20color%3D%22%23ff0000%22%3E%3CSTRONG%3EWARNING%3A%20Do%20not%20dismiss%20this%20screen%20until%20you%20have%20saved%20the%20value%20as%20you%20cannot%20retrieve%20it%20later%3C%2FSTRONG%3E%3C%2FFONT%3E%3CBR%20%2F%3E%3CIMG%20src%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2018%2F03%2F173.png%22%20border%3D%220%22%20%2F%3E%3C%2FLI%3E%0A%3CLI%3EGo%20back%20to%20the%20txt%20document%20and%20replace%20%3CKEY%20value%3D%22%22%20generated%3D%22%22%20in%3D%22%22%20the%3D%22%22%3E%20with%20the%20copied%20key%20value%3CSTRONG%3E%3CBR%20%2F%3E%3C%2FSTRONG%3Eand%3CSTRONG%3E%26nbsp%3BSave%3CBR%20%2F%3E%3CIMG%20src%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2018%2F03%2F183.png%22%20border%3D%220%22%20%2F%3E%3C%2FSTRONG%3E%3CFONT%20color%3D%22%23ff0000%22%3E%3CSTRONG%3E%3CBR%20%2F%3EWARNING%3A%20Ensure%20there%20is%20only%20a%20single%20space%20after%20the%20Application%20Key%20before%20-nativeAppId%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FKEY%3E%3C%2FLI%3E%0A%3CLI%3EIn%20the%20Microsoft%20Azure%20portal%2C%20click%20on%26nbsp%3B%3CSTRONG%3EAzure%20Active%20Directory%3C%2FSTRONG%3E%26nbsp%3Bin%20the%20left-hand%20pane%3CBR%20%2F%3E%3CIMG%20src%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2018%2F03%2F081.png%22%20border%3D%220%22%20%2F%3E%3C%2FLI%3E%0A%3CLI%3EUnder%26nbsp%3B%3CSTRONG%3EManage%3C%2FSTRONG%3E%2C%20click%20on%26nbsp%3B%3CSTRONG%3EApp%20registrations%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CIMG%20src%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2018%2F03%2F091.png%22%20border%3D%220%22%20%2F%3E%3C%2FLI%3E%0A%3CLI%3EIn%20the%26nbsp%3B%3CSTRONG%3EApp%20registrations%26nbsp%3B%3C%2FSTRONG%3Eblade%2C%20click%20the%26nbsp%3B%3CSTRONG%3E%2B%20New%20application%20registration%3C%2FSTRONG%3E%26nbsp%3Bbutton%3CBR%20%2F%3E%3CIMG%20src%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2018%2F03%2F104.png%22%20border%3D%220%22%20%2F%3E%3C%2FLI%3E%0A%3CLI%3EIn%20the%26nbsp%3B%3CSTRONG%3ECreate%3C%2FSTRONG%3E%26nbsp%3Bblade%2C%20use%20the%20values%26nbsp%3Bshown%20below%20to%20create%20the%20registration%3CIMG%20src%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2018%2F03%2F192.png%22%20border%3D%220%22%20%2F%3E%3C%2FLI%3E%0A%3CLI%3EClick%20the%26nbsp%3B%3CSTRONG%3ECreate%3C%2FSTRONG%3E%26nbsp%3Bbutton%20to%20complete%20the%20app%20registration%3C%2FLI%3E%0A%3CLI%3EIn%20the%26nbsp%3B%3CSTRONG%3EAIPClient%3C%2FSTRONG%3E%26nbsp%3Bblade%2C%20hover%20the%20mouse%20over%20the%26nbsp%3B%3CSTRONG%3EApplication%20ID%3C%2FSTRONG%3E%26nbsp%3Band%20click%20on%20the%26nbsp%3B%3CSTRONG%3EClick%20to%20copy%26nbsp%3B%3C%2FSTRONG%3Eicon%20when%20it%20appears%3C%2FLI%3E%0A%3CLI%3EReplace%20%3CID%20of%3D%22%22%20the%3D%22%22%3E%20in%20the%20Set-AIPAuthentication.txt%20document%20with%20the%26nbsp%3B%3CSTRONG%3Ecopied%20Application%20ID%20value%26nbsp%3B%3C%2FSTRONG%3Eand%3CSTRONG%3E%26nbsp%3BSave%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CIMG%20src%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2018%2F03%2F202.png%22%20border%3D%220%22%20%2F%3E%3C%2FID%3E%3C%2FLI%3E%0A%3CLI%3EReturn%20to%20the%20browser%20and%20in%20the%26nbsp%3B%3CSTRONG%3EAIPClient%3C%2FSTRONG%3E%26nbsp%3Bblade%2C%20click%20on%26nbsp%3B%3CSTRONG%3ESettings%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3CLI%3EIn%20the%26nbsp%3B%3CSTRONG%3ESettings%3C%2FSTRONG%3E%26nbsp%3Bblade%2C%20under%26nbsp%3B%3CSTRONG%3EAPI%20ACCESS%3C%2FSTRONG%3E%2C%20select%26nbsp%3B%3CSTRONG%3ERequired%20permissions%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CIMG%20src%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2018%2F03%2F217.png%22%20border%3D%220%22%20%2F%3E%3C%2FLI%3E%0A%3CLI%3EOn%20the%26nbsp%3B%3CSTRONG%3ERequired%20permissions%3C%2FSTRONG%3E%26nbsp%3Bblade%2C%20click%26nbsp%3B%3CSTRONG%3EAdd%3C%2FSTRONG%3E%2C%20and%20then%20click%26nbsp%3B%3CSTRONG%3ESelect%20an%20API%3CIMG%20src%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2018%2F03%2F224.png%22%20border%3D%220%22%20%2F%3E%3CIMG%20src%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2018%2F03%2F232.png%22%20border%3D%220%22%20%2F%3E%3C%2FSTRONG%3E%3CFONT%20color%3D%22%230000ff%22%3E%3CSTRONG%3ENOTE%3A%20It%20may%20take%20a%20few%20moments%20for%20each%20of%20these%20blades%20to%20load%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FLI%3E%0A%3CLI%3EIn%20the%26nbsp%3B%3CSTRONG%3Esearch%3C%2FSTRONG%3E%26nbsp%3Bbox%2C%20type%26nbsp%3B%3CSTRONG%3EAIPO%3C%2FSTRONG%3E%26nbsp%3Band%20click%20on%26nbsp%3B%3CSTRONG%3EAIPOnBehalfOf%3C%2FSTRONG%3E%2C%20and%20then%20click%20the%26nbsp%3B%3CSTRONG%3ESelect%26nbsp%3B%3C%2FSTRONG%3Ebutton%3CBR%20%2F%3E%3CIMG%20src%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2018%2F03%2F242.png%22%20border%3D%220%22%20%2F%3E%3C%2FLI%3E%0A%3CLI%3EOn%20the%26nbsp%3B%3CSTRONG%3EEnable%20Access%3C%2FSTRONG%3E%26nbsp%3Bblade%2C%26nbsp%3B%3CSTRONG%3Echeck%20the%20box%3C%2FSTRONG%3E%26nbsp%3Bnext%20to%26nbsp%3B%3CSTRONG%3EAIPOnBehalfOf%3C%2FSTRONG%3E%2C%20click%20the%26nbsp%3B%3CSTRONG%3ESelect%3C%2FSTRONG%3E%26nbsp%3Bbutton%3CBR%20%2F%3E%3CIMG%20src%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2018%2F03%2F252.png%22%20border%3D%220%22%20%2F%3E%3CIMG%20src%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2018%2F03%2F25b.png%22%20border%3D%220%22%20width%3D%2291%22%20height%3D%2229%22%20%2F%3E%3C%2FLI%3E%0A%3CLI%3EClick%26nbsp%3B%3CSTRONG%3EDone%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CIMG%20src%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2018%2F03%2F262.png%22%20border%3D%220%22%20%2F%3E%3C%2FLI%3E%0A%3CLI%3EIn%20the%20Required%20permissions%20blade%2C%20click%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EGrant%20permissions%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CIMG%20src%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2018%2F03%2F224.png%22%20border%3D%220%22%20%2F%3E%3C%2FLI%3E%0A%3CLI%3EIn%20the%20popup%20window%2C%20click%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EYes%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CIMG%20src%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2018%2F07%2FSNAG-180718-01.png%22%20border%3D%220%22%20width%3D%22375%22%20height%3D%22111%22%20%2F%3E%3C%2FLI%3E%0A%3CLI%3EClick%20on%20the%20Start%20menu%20and%20type%26nbsp%3B%3CSTRONG%3EPowerShell%3C%2FSTRONG%3E%2C%26nbsp%3B%3CSTRONG%3Eright-click%3C%2FSTRONG%3E%26nbsp%3Bon%20the%20PowerShell%20program%2C%20and%20click%26nbsp%3B%3CSTRONG%3ERun%20as%20a%20different%20user%3C%2FSTRONG%3E.%3CIMG%20src%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2018%2F07%2FSNAG-180718-02.png%22%20border%3D%220%22%20width%3D%22256%22%20height%3D%22443%22%20%2F%3E%3C%2FLI%3E%0A%3CLI%3EIn%20the%20Run%20as%20different%20user%20dialog%2C%20insert%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EAIP%26nbsp%3BScanner%20Service%20credentials%3C%2FSTRONG%3E%3CIMG%20src%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2018%2F07%2FSNAG-180718-03.png%22%20border%3D%220%22%20width%3D%22255%22%20height%3D%22145%22%20%2F%3E%3C%2FLI%3E%0A%3CLI%3EIn%20the%20Scanner%20Service%20context%26nbsp%3B%3CSTRONG%3EPowerShell%3C%2FSTRONG%3E%26nbsp%3Bwindow%2C%26nbsp%3Bpaste%20the%20completed%26nbsp%3Bcommand%26nbsp%3Bfrom%26nbsp%3B%3CSTRONG%3ESet-AIPAuthentication.txt%26nbsp%3B%3C%2FSTRONG%3Eand%20press%26nbsp%3B%3CSTRONG%3EEnter%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3CLI%3EWhen%20prompted%2C%20enter%20the%20user%26nbsp%3B%3CSTRONG%3EAIPScanner%40yourdomain.com%3C%2FSTRONG%3E%26nbsp%3Band%20the%26nbsp%3B%3CSTRONG%3Epassword%3CBR%20%2F%3ENOTE%3A%20Replace%20yourdomain%20with%20the%20your%20tenant%3C%2FSTRONG%3E%3CIMG%20src%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2018%2F03%2F282.png%22%20border%3D%220%22%20%2F%3E%3C%2FLI%3E%0A%3CLI%3EYou%20will%20see%20the%20message%20below%20in%20the%20PowerShell%20window%20once%20complete%3CIMG%20src%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2018%2F03%2F301.png%22%20border%3D%220%22%20%2F%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CH2%20id%3D%22toc-hId-27771739%22%20id%3D%22toc-hId--1712245126%22%20id%3D%22toc-hId--1658527980%22%3E%3CSTRONG%3EConfiguring%20Repositories%3A%3C%2FSTRONG%3E%3C%2FH2%3E%0A%3CP%3ERepositories%26nbsp%3Bcan%20be%20on-premises%20SharePoint%202010%2C%202013%2C%20or%202016%20document%20libraries%20or%20lists%20and%20any%20accessible%20CIFS%20based%20share.%26nbsp%3B%26nbsp%3B%3CBR%20%2F%3E%3CFONT%20color%3D%22%230000ff%22%3ENOTE%3A%20In%20order%20to%20do%20discovery%2C%20the%20scanner%20service%20pulls%20the%20documents%20to%20the%20server%2C%20so%20having%20the%20scanner%20server%20located%20in%20the%20same%20LAN%20as%20your%20repositories%20is%20recommended.%26nbsp%3BYou%20can%20deploy%20as%20many%20servers%20as%20you%20like%20in%20your%20domain%2C%20so%20putting%20one%20at%20each%20major%20site%20is%20probably%20a%20good%20idea.%3C%2FFONT%3E%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3ETo%20add%20a%20file%20share%20repository%2C%20open%20a%20PowerShell%20window%20and%20run%20the%20command%20below%3CBR%20%2F%3E%3CSTRONG%3E%3CEM%3EAdd-AIPScannerRepository%20-Path%20%5C%5Cfileserver%5Cdocuments%3C%2FEM%3E%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3CLI%3ETo%20add%20a%20SharePoint%202013%2F2016%20document%20library%20run%20the%20command%20below%3CBR%20%2F%3E%3CSTRONG%3E%3CEM%3EAdd-AIPScannerRepository%20-Path%26nbsp%3Bhttp%3A%2F%2Fsharepoint%2Fdocuments%3C%2FEM%3E%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3CLI%3ETo%20verify%20that%20the%20repositories%20that%20are%20configured%2C%20run%20the%20command%20below%3CBR%20%2F%3E%3CEM%3E%3CSTRONG%3EGet-AIPScannerRepository%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CIMG%20src%3D%22https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2018%2F03%2F3110.png%22%20border%3D%220%22%20%2F%3E%3C%2FEM%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CH2%20id%3D%22toc-hId-1770582074%22%20id%3D%22toc-hId-30565209%22%20id%3D%22toc-hId-84282355%22%3E%3CSTRONG%3ESensitive%20Data%20Discovery%3A%3C%2FSTRONG%3E%3C%2FH2%3E%0A%3CP%3EOne%20of%20the%20most%20useful%20features%20of%20the%20AIP%20Scanner%20is%20the%20discovery%20of%20sensitive%20data%20across%20all%20of%20your%20configured%20repositories.%26nbsp%3B%20You%20can%20do%20this%20by%20using%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fazureinformationprotection%2Fset-aipscannerconfiguration%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3ESet-AIPScannerConfiguration%3C%2FA%3E%26nbsp%3Bwith%20a%20switch%26nbsp%3Bcalled%26nbsp%3B%3CEM%3E-DiscoverInformationTypes%3C%2FEM%3E.%26nbsp%3B%20When%20this%20switch%20is%20set%20to%26nbsp%3B%3CSTRONG%3EAll%3C%2FSTRONG%3E%2C%20the%20scanner%20will%20discover%20files%20that%20contain%20any%20data%20in%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3Ethe%26nbsp%3Blist%20of%20all%3CSTRONG%3E%26nbsp%3BOffice%20365%20DLP%20sensitive%20data%20types%26nbsp%3B%3C%2FSTRONG%3Eso%20configuration%20of%20conditions%20in%20labels%20are%20not%20required.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENOTE%3A%20Normally%2C%20custom%20data%20types%20based%20on%20string%20and%20regex%20values%20are%26nbsp%3Balso%20available%2C%20but%20these%26nbsp%3Brequire%20AIP%20Premium%20P2%20licensing.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20PowerShell%20command%20below%20will%20allow%20you%20to%20scan%20your%20repositories%20against%20all%20information%20types.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ESet-AIPScannerConfiguration%20-DiscoverInformationTypes%26nbsp%3BAll%3C%2FSTRONG%3E%3CBR%20%2F%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETo%20start%20the%26nbsp%3Bdiscovery%2C%20use%20the%26nbsp%3BPowerShell%26nbsp%3Bcommand%20below%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E%3CSTRONG%3E%3CEM%3EStart-AIPScan%3C%2FEM%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAfter%20running%20the%20scan%2C%20you%20can%20review%20the%20logs%20by%20opening%20the%20Event%20Viewer%20and%20clicking%20on%3C%2FP%3E%0A%3CDIV%3E%0A%3CDIV%3E%3CSPAN%3E%3CSTRONG%3EApplication%20and%20Services%20Logs%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3Band%20then%20on%20%3C%2FSPAN%3E%3CSTRONG%3EAzure%20Information%20Protection%3C%2FSTRONG%3E%3CSPAN%3E.%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CP%3Eyou%20can%20view%20the%20detailed%20logs%20at%20%3CSTRONG%3EC%3A%5Cusers%5C%3CSCANNER%20service%3D%22%22%20account%3D%22%22%20profile%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2F%22%3E%5Cappdata%5Clocal%5CMicrosoft%5CMSIP%5CScanner%5CReports%3C%2FSCANNER%3E%3C%2FSTRONG%3E.%26nbsp%3B%20There%20you%20will%20find%20the%20summary%20txt%20and%20detailed%20csv%20files.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBelow%20is%20a%20screenshot%20showing%20the%20DetailedReport.csv%20file%20after%20a%20full%20discovery%20scan.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F49645iE46CEF1C1E2EE04B%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%229y52ab7u.jpg%22%20title%3D%229y52ab7u.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAs%20you%20can%20see%2C%20it%20shows%20the%20file%20name%20and%20all%20of%20the%20sensitive%20information%20types%20that%20were%20identified%20in%20each%20file.%26nbsp%3B%20This%20data%20can%20be%20reviewed%20manually%2C%20or%20more%20realistically%2C%20ingested%20into%20a%20SIEM%20for%20analysis%20and%20reporting.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-27771739%22%20id%3D%22toc-hId-1773375544%22%20id%3D%22toc-hId-1827092690%22%3E%3CSTRONG%3EProtection%20Options%3A%3C%2FSTRONG%3E%3C%2FH2%3E%0A%3CP%3EAlthough%20automated%20protection%20via%20the%20AIP%20scanner%20is%20more%20convenient%2C%20there%20are%20still%20options%20available%20with%20AIP%20P1%20for%20classifying%20and%2For%20protecting%20the%20sensitive%20data.%26nbsp%3B%20These%20options%20are%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EManual%20Classification%3CUL%3E%0A%3CLI%3EWith%20Manual%20classification%2C%20a%20user%20must%20open%20each%20document%20containing%20sensitive%20information%20and%20classify%20it%20via%20the%20AIP%20toolbar.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3EManual%20or%20Bulk%20Classification%20via%20the%20AIP%20client%20Windows%20Explorer%20add-in%3CUL%3E%0A%3CLI%3EUsing%20the%20AIP%20client%20via%20the%20right-click%20context%20menu%20in%20Windows%20Explorer%2C%20you%20can%20classify%20and%2For%20protect%20individual%20files%20or%20entire%20directories%20of%20files%20with%20a%20single%20label.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3EBulk%20Classification%20via%20the%20AIP%20PowerShell%20cmdlets%3CUL%3E%0A%3CLI%3EUsing%20the%20PowerShell%20cmdlets%20contained%20in%20the%26nbsp%3BAzureInformationProtection%20PowerShell%20module%20(%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fazureinformationprotection%2F%3Fview%3Dazureipps%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Efull%20details%20here%3C%2FA%3E)%20such%20as%20Set-AIPFileLabel%2C%20you%20can%20potentially%20script%20solutions%20for%20classifying%20and%20protecting%20the%20files%20that%20are%20identified%20to%20contain%20sensitive%20data%20in%20the%20DetailedReport.csv%20files%20produced%20by%20the%20AIP%20scanner.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EYou%20should%20now%20have%20a%20fully%20functional%20AIP%20Scanner%20instance.%26nbsp%3B%20You%20can%20repeat%20this%20process%20on%20multiple%20servers%20as%20necessary%20and%20use%20the%20same%20Set-AIPAuthentication%20command%20for%20each%20of%20them.%26nbsp%3B%20This%26nbsp%3Bis%20a%20simple%20setup%20for%20a%20basic%20AIP%20scanner%20server%20that%20can%20be%20used%20to%26nbsp%3Bdiscover%26nbsp%3Ba%20large%20amount%20of%20sensitive%20data%20easily.%26nbsp%3B%20I%20highly%20recommend%20reading%20the%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Finformation-protection%2Fdeploy-use%2Fdeploy-aip-scanner%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eofficial%20documentation%20on%20deploying%20the%20scanner%3C%2FA%3E%26nbsp%3Bas%20there%20are%20some%20less%20common%20caveats%20that%20I%20have%20left%20out%20and%20they%20cover%20performance%20tips%20and%20other%20additional%20information.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%2C%3C%2FP%3E%0A%3CP%3EThe%20Information%20Protection%20Customer%20Experience%20Team%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-252040%22%20slang%3D%22en-US%22%3E%3CP%3EDiscovering%20all%20of%20the%20sensitive%20data%20on%20networks%20that%20are%20decades%20old%20can%20be%20a%20daunting%20task.%26nbsp%3B%20Luckily%2C%20if%20you%20own%20AIP%20Premium%20P1%20(Included%20with%20EMS%20E3%2FMicrosoft%20365%20E3)%2C%20you%20can%20use%20the%20AIP%20scanner%20to%20easily%20discover%20all%20of%20the%20sensitive%20data%20in%20your%20on%20premises%20CIFS%20file%20shares%20and%20SharePoint%20document%20libraries%20and%20lists.%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-252040%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20Information%20Protection%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E

The Azure Information Protection Scanner is a program designed to detect, classify, and optionally protecting documents stored on File Shares and On-Premises SharePoint servers. The overview below is from the official documentation at https://docs.microsoft.com/en-us/information-protection/deploy-use/deploy-aip-scanner.  This blog post is meant to assist customers and partners with deployment of the AIP Scanner.  If there is ever a conflict between this blog and the official documentation, the official documentation is authoritative.

 Azure Information Protection scanner architecture overview

The AIP Scanner runs as a service on Windows Server and lets you discover, classify, and protect files on the following data stores:

  • Local folders on the Windows Server computer that runs the scanner.
  • UNC paths for network shares that use the Common Internet File System (CIFS) protocol.
  • Sites and libraries for SharePoint Server 2010*, 2013, and 2016.

*SharePoint 2010 support is only available with a valid extended support contract for that product.

 

The scanner can inspect any files that Windows can index, by using iFilters that are installed on the computer. Then, to determine if the files need labeling, the scanner uses the Office 365 built-in data loss prevention (DLP) sensitivity information types and pattern detection, or Office 365 regex patterns. Because the scanner uses the Azure Information Protection client, it can classify and protect the same file types.

 

With an AIP Premium P1 license, you can run the scanner in discovery mode and use the information obtained in the reports to make more informed decisions based on your exposure to risk. 

NOTE: The scanner does not discover and label in real time. It systematically crawls through files on data stores that you specify, and you can configure this cycle to run once, or repeatedly.

 

This blog post was written based on the public preview version of the AIP Scanner (1.36.18.0).  Every effort will be made to update it when things change, but if you run into difficulty running any of the commands on a newer version, please use the official documentation to identify any changes.

 

***NOTE: This post shows only the features possible with an Azure Information Protection P1 license and does not cover the additional classification and protection features of the AIP scanner.  If you have AIP Premium P2, please review the blog here for full details***

Prerequisites:

To install the AIP Scanner in a production environment, the following items are needed:

  • A Windows Server 2012 R2 or 2016 Server to run the service
    • Minimum 4 CPU and 4GB RAM physical or virtual 
      NOTE: TL;DR: More RAM is better.
      The scanner will allocate RAM 2.5-3 times of size of all files being scanned in parallel.  Thus, if you scan 40 files that are 20MB each at the same time, it should take about 20*2.5*40=2GB RAM. However, if you have one big 1GB file it can take 3GB of RAM just for that file.  
    • Internet connectivity necessary for Azure Information Protection
  • A SQL Server 2012+ local or remote instance (Any version from Express or better is supported)
    • Sysadmin role needed to install scanner service (user running Install-AIPScanner, not the service account)
      NOTE: If using SQL Server Express, the SQL Instance name is ServerName\SQLExpress
  • Service account created in On Premises AD and synchronized with Azure AD (I will call this account AIPScanner in this document)
    • Service requires Log on locally right and Log on as a service right (the second will be given during scanner service install)
    • Service account requires Read permissions to each repository for discovery and Read/Write permissions for classification/protection
  • AzInfoProtection_PREVIEW_1.36.18.0.exe available on the Microsoft Download Center (The scanner bits are included with the AIP Client)

Installation:

 

NOTE: We have scripted the scanner installation process and it is now available at https://techcommunity.microsoft.com/t5/Azure-Information-Protection/Azure-Information-Protection-Sca.... Although these steps are still valid, the scripted method is far less prone to mistakes and much faster for deployment. 

 

A basic installation of the AIP Scanner service is simple and straightforward.

  1. Log onto the server where you will install the AIP Scanner service using an account that is a local administrator of the server and has permission to write to the SQL Server master database. (more restrictive scenarios are documented in the official documentation)
  2. Run AzInfoProtection_PREVIEW_1.36.18.0.exe on the server and step through the client install (this also drops the AIP Scanner bits)
  3. Next, Right-click on the Windows button in the lower left-hand corner and click on Command Prompt (Admin) 
    Start Menu
  4. Type PowerShell and hit Enter
    PowerShell
  5. At the PowerShell prompt, type the following command and press Enter:
    Install-AIPScanner
  6. When prompted, provide the credentials for the scanner service account (YourDomain\AIPScanner) and password
  7. When prompted for SqlServerInstance, enter the name of your SQL Server and press Enter
    You should see a success message like the one below
    NOTE: If you get any errors at this point, verify network connectivity and resolve any permissions issues with the SQL Database before proceeding!
  8. Right-click on the Windows button in the lower left-hand corner and click on Run
  9. In the Run dialog, type services.msc and click OK
    Services
  10. In the Services console, double-click on the Azure Information Protection Scanner service
  11. On the Log On tab of the Azure Information Protection Scanner Service Properties, verify that Log on as: is set to the YourDomain\AIPScanner service account
    logon

Scanner Configuration:

After the install of the AIP Scanner binaries, you must authenticate with the AIP Scanner Service Account to get a token for use in automated discovery, classification, and protection.

Authentication Token:

  1. On the server where you installed the scanner, create a new text document on the desktop and name it something like Set-AIPAuthentication.txt
    • In this document, paste the line of PowerShell code below and save
      Set-AIPAuthentication -webAppId <ID of the "Web app / API" application> -webAppKey <key value generated in the "Web app / API" application> -nativeAppId <ID of the "Native" application>
  2. Open Internet Explorer and browse to https://portal.azure.com
  3. At the Sign in to Microsoft Azure page, enter the your tenant global admin credentials
  4. In the Microsoft Azure portal, click on Azure Active Directory in the left-hand pane
  5. Under Manage, click on App registrations
  6. In the App registrations blade, click the + New application registration button
  7. In the Create blade, use the values shown below to create the registration
  8. Click the Create button to complete the app registration
  9. In the AIPOnBehalfOf blade, hover the mouse over the Application ID and click on the Click to copy icon when it appears
  10. Minimize (DO NOT CLOSE) Internet Explorer and other windows to show the desktop
  11. On the desktop, return to Set-AIPAuthentication.txt and replace <ID of the "Web app / API" application> with the copied Application ID value
    and Save
    WARNING: Ensure there is only a single space after the Application ID before -webAppKey
  12. Return to the browser and click on the Settings button
  13. In the Settings blade, under API ACCESS, click on Keys
  14. In the Keys blade, add a new key by typing AIPClient in the Key description field and your choice of duration (1 year, 2 years, or never expires)
  15. Select Save and copy the Value that is displayed
    WARNING: Do not dismiss this screen until you have saved the value as you cannot retrieve it later
  16. Go back to the txt document and replace <key value generated in the "Web app / API" application> with the copied key value
    and Save

    WARNING: Ensure there is only a single space after the Application Key before -nativeAppId
  17. In the Microsoft Azure portal, click on Azure Active Directory in the left-hand pane
  18. Under Manage, click on App registrations
  19. In the App registrations blade, click the + New application registration button
  20. In the Create blade, use the values shown below to create the registration
  21. Click the Create button to complete the app registration
  22. In the AIPClient blade, hover the mouse over the Application ID and click on the Click to copy icon when it appears
  23. Replace <ID of the "Native" application > in the Set-AIPAuthentication.txt document with the copied Application ID value and Save
  24. Return to the browser and in the AIPClient blade, click on Settings
  25. In the Settings blade, under API ACCESS, select Required permissions
  26. On the Required permissions blade, click Add, and then click Select an APINOTE: It may take a few moments for each of these blades to load
  27. In the search box, type AIPO and click on AIPOnBehalfOf, and then click the Select button
  28. On the Enable Access blade, check the box next to AIPOnBehalfOf, click the Select button
  29. Click Done
  30. In the Required permissions blade, click Grant permissions
  31. In the popup window, click Yes
  32. Click on the Start menu and type PowerShellright-click on the PowerShell program, and click Run as a different user.
  33. In the Run as different user dialog, insert the AIP Scanner Service credentials
  34. In the Scanner Service context PowerShell window, paste the completed command from Set-AIPAuthentication.txt and press Enter
  35. When prompted, enter the user AIPScanner@yourdomain.com and the password
    NOTE: Replace yourdomain with the your tenant
  36. You will see the message below in the PowerShell window once complete

Configuring Repositories:

Repositories can be on-premises SharePoint 2010, 2013, or 2016 document libraries or lists and any accessible CIFS based share.  
NOTE: In order to do discovery, the scanner service pulls the documents to the server, so having the scanner server located in the same LAN as your repositories is recommended. You can deploy as many servers as you like in your domain, so putting one at each major site is probably a good idea.

  1. To add a file share repository, open a PowerShell window and run the command below
    Add-AIPScannerRepository -Path \\fileserver\documents
  2. To add a SharePoint 2013/2016 document library run the command below
    Add-AIPScannerRepository -Path http://sharepoint/documents
  3. To verify that the repositories that are configured, run the command below
    Get-AIPScannerRepository

Sensitive Data Discovery:

One of the most useful features of the AIP Scanner is the discovery of sensitive data across all of your configured repositories.  You can do this by using Set-AIPScannerConfiguration with a switch called -DiscoverInformationTypes.  When this switch is set to All, the scanner will discover files that contain any data in the list of all Office 365 DLP sensitive data types so configuration of conditions in labels are not required.

 

NOTE: Normally, custom data types based on string and regex values are also available, but these require AIP Premium P2 licensing.

 

The PowerShell command below will allow you to scan your repositories against all information types.

 

Set-AIPScannerConfiguration -DiscoverInformationTypes All
 

To start the discovery, use the PowerShell command below


Start-AIPScan

 

After running the scan, you can review the logs by opening the Event Viewer and clicking on

Application and Services Logs and then on Azure Information Protection.

you can view the detailed logs at C:\users\<Scanner Service Account Profile>\appdata\local\Microsoft\MSIP\Scanner\Reports.  There you will find the summary txt and detailed csv files.

 

Below is a screenshot showing the DetailedReport.csv file after a full discovery scan.

 

9y52ab7u.jpg

 

 

As you can see, it shows the file name and all of the sensitive information types that were identified in each file.  This data can be reviewed manually, or more realistically, ingested into a SIEM for analysis and reporting.

 

Protection Options:

Although automated protection via the AIP scanner is more convenient, there are still options available with AIP P1 for classifying and/or protecting the sensitive data.  These options are 

  • Manual Classification
    • With Manual classification, a user must open each document containing sensitive information and classify it via the AIP toolbar.
  • Manual or Bulk Classification via the AIP client Windows Explorer add-in
    • Using the AIP client via the right-click context menu in Windows Explorer, you can classify and/or protect individual files or entire directories of files with a single label.
  • Bulk Classification via the AIP PowerShell cmdlets
    • Using the PowerShell cmdlets contained in the AzureInformationProtection PowerShell module (full details here) such as Set-AIPFileLabel, you can potentially script solutions for classifying and protecting the files that are identified to contain sensitive data in the DetailedReport.csv files produced by the AIP scanner.

You should now have a fully functional AIP Scanner instance.  You can repeat this process on multiple servers as necessary and use the same Set-AIPAuthentication command for each of them.  This is a simple setup for a basic AIP scanner server that can be used to discover a large amount of sensitive data easily.  I highly recommend reading the official documentation on deploying the scanner as there are some less common caveats that I have left out and they cover performance tips and other additional information.

 

Thanks,

The Information Protection Customer Experience Team