AIP UL - error Get-AIPFileStatus : Engine is not initialized, bootstrap might have failed

Vamshi Budarapu 101 Reputation points
2020-12-23T17:48:01.58+00:00

I have installed Azure Information Protection UL client in my local and when I try to run powershell command to get file status for label information, It is throwing an error. I do not have any subscription in Azure. Just installed client in my machine to check whether the file has sensitivity label or not.

Please let me know, how to fix this.

Error:

Get-AIPFileStatus : Engine is not initialized, bootstrap might have failed
At line:1 char:1

  • Get-AIPFileStatus BusinessUse.docx
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  • CategoryInfo : InvalidOperation: (:) [Get-AIPFileStatus], InvalidOperationException
  • FullyQualifiedErrorId : Microsoft.InformationProtection.Powershell.AIP.Commandlets.GetAIPFileStatusCmdLet

50768-image.png

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,380 questions
{count} votes

Accepted answer
  1. Vamshi Budarapu 101 Reputation points
    2020-12-30T10:01:28.583+00:00

    Hi,

    Thanks for your response. I am able to resolve this issue. Issue is we need to have office account logged-in which has AIP labels configured only. I used to switch between user accounts in office app in desktop (one account has AIP configured and another not) which did not worked out. I created a VM and logged-in with specific office account which has AIP configured then it started working.

    1 person found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. Mike Crowley 116 Reputation points
    2024-04-12T14:08:04.4633333+00:00

    I got the same error and solved it by right-clicking on a file and using the UI client to apply a label. This prompted me to pick an account, and then when I went back to PowerShell, Get-AIPFileStatus worked correctly.

    1 person found this answer helpful.
    0 comments No comments

  2. Alex Schwerzmann 1 Reputation point
    2020-12-30T09:15:27+00:00

    Hi

    Since a few days, I'm experiencing exactly the same.

    Unified Labeling or classical labeling - both in place, same problem. Backend is there and configured. AIP Client Version 2.8.85 (most recent). Any other ideas?

    Thanks

    0 comments No comments