SOLVED

Azure Information Protection Scanner: Shows Error: Policy is Missing

%3CLINGO-SUB%20id%3D%22lingo-sub-1797893%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20Information%20Protection%20Scanner%3A%20Shows%20Error%3A%20Policy%20is%20Missing%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1797893%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F830591%22%20target%3D%22_blank%22%3E%40William_Eng%3C%2FA%3E%26nbsp%3Bhave%20you%20following%20the%20steps%20under%20%22Scanner%20Configuration%22%3F%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fmicrosoft-security-and%2Finstallation-configuration-and-usage-of-the-aip-scanner%2Fba-p%2F221792%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fmicrosoft-security-and%2Finstallation-configuration-and-usage-of-the-aip-scanner%2Fba-p%2F221792%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1799461%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20Information%20Protection%20Scanner%3A%20Shows%20Error%3A%20Policy%20is%20Missing%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1799461%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F63116%22%20target%3D%22_blank%22%3E%40Stephen%20Leuthold%3C%2FA%3E%26nbsp%3BSo%20-%20the%20answer%20was%20in%20that%20article.%20I%20had%20created%20the%20application%2C%20but%20the%20application%20itself%20did%20not%20have%20a%20token.%20I%20had%20to%20delete%20my%20application%2C%20recreate%20it%20to%20your%20above%20article%20and%20I%20was%20able%20to%20grab%20a%20real%20token.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1775150%22%20slang%3D%22en-US%22%3EAzure%20Information%20Protection%20Scanner%3A%20Shows%20Error%3A%20Policy%20is%20Missing%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1775150%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20been%20working%20on%20troubleshooting%20this%20issue%3A%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20scanner%20is%20setup%2C%20I%20can%20successfully%20download%20a%20token%20from%20Azure.%20I%20have%20policies%20setup%20and%20labels%20as%20well.%20But%20when%20I%20look%20in%20the%20AIP%20Node%2C%20my%20node%20is%20showing%20Content%20Scan%20Job%20Status%20as%20%3A%20Error%3A%20Policy%20is%20missing.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20quite%20at%20a%20loss%20AIPScannerDiagnostics%20shows%20the%20following%3A%3C%2FP%3E%3CP%3EThe%20service%20didn't%20accept%20the%20auth%20token.%20Challenge%3A%5B''%5D%2C%20CorrelationId%3D6%2C%20CorrelationId.Description%3DPolicyProfile%20at%20System.Runtime.ExceptionServices%3CBR%20%2F%3EExceptionDispatchInfo.Throw()%3CBR%20%2F%3Eat%20System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task%20task)%3CBR%20%2F%3Eat%20Microsoft.InformationProtection.Common.Bootstrapping.PolicyBootstrapper.%3CLOADENGINEIMPL%3Ed__7.MoveNext()%3CBR%20%2F%3E--%20End%20of%20stack%20trace%20from%20previous%20location%20where%20exception%20was%20thrown%20---%3CBR%20%2F%3Eat%20System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()%3CBR%20%2F%3Eat%20System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task%20task)%3CBR%20%2F%3Eat%20Microsoft.InformationProtection.Common.Bootstrapping.Bootstrapper%601.%3CLOADENGINE%3Ed__103.MoveNext()%3CBR%20%2F%3E--%20End%20of%20stack%20trace%20from%20previous%20location%20where%20exception%20was%20thrown%20---%3CBR%20%2F%3Eat%20System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()%3CBR%20%2F%3Eat%20System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task%20task)%3CBR%20%2F%3Eat%20Microsoft.InformationProtection.Common.Bootstrapping.Bootstrapper%601.%3CBOOTSTRAP%3Ed__96.MoveNext()%3C%2FBOOTSTRAP%3E%3C%2FLOADENGINE%3E%3C%2FLOADENGINEIMPL%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20assistance%20to%20resolve%20this%20issue%2C%20would%20be%20greatly%20appreciated.%3C%2FP%3E%3CP%3EThanks!!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1775150%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Information%20Protection%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New Contributor

I have been working on troubleshooting this issue: 

My scanner is setup, I can successfully download a token from Azure. I have policies setup and labels as well. But when I look in the AIP Node, my node is showing Content Scan Job Status as : Error: Policy is missing. 

 

I am quite at a loss AIPScannerDiagnostics shows the following:

The service didn't accept the auth token. Challenge:[''], CorrelationId=6, CorrelationId.Description=PolicyProfile at System.Runtime.ExceptionServices
ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.InformationProtection.Common.Bootstrapping.PolicyBootstrapper.<LoadEngineImpl>d__7.MoveNext()
-- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.InformationProtection.Common.Bootstrapping.Bootstrapper`1.<LoadEngine>d__103.MoveNext()
-- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.InformationProtection.Common.Bootstrapping.Bootstrapper`1.<Bootstrap>d__96.MoveNext()

 

Any assistance to resolve this issue, would be greatly appreciated.

Thanks!!

2 Replies
best response confirmed by William_Eng (New Contributor)
Solution

@William_Eng Have you followed this? After you set it up you may need to restart the MIP scanner services... https://docs.microsoft.com/en-us/azure/information-protection/rms-client/clientv2-admin-guide-powers...

 

....What is in your \AppData\Local\Microsoft\MSIP\Logs\MSIPExecutionHost.iplog ?

@Stephen Leuthold So - the answer was in that article. I had created the application, but the application itself did not have a token. I had to delete my application, recreate it to your above article and I was able to grab a real token.