Issue setting up AIP Scanner for using Application token.

Steve l 0 Reputation points
2023-12-06T17:17:36.97+00:00

Setting up AIP on-premises scanner and utilizing an application registered within the Entra ID and the set-aipauthentication to run the scanner utilizing the application token vs. resetting it every 90 days. However when setting it up and running the set-aipauthentication command for some reason it is not giving us the results of Acquired application access token, but still saying acquired access token.

How can I validate that it is running under the application token? And is there a way to see what within the set-aipauthentication command is preventing the application access token utilization?

Thank you

Azure Information Protection
Azure Information Protection
An Azure service that is used to control and help secure email, documents, and sensitive data that are shared outside the company.
529 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,190 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Shweta Mathur 29,016 Reputation points Microsoft Employee
    2023-12-07T12:58:48.53+00:00

    Hi @Steve l ,

    Thanks for reaching out.

    This is expected behavior when you run the command Set-AIPAuthentication which will allow AIP scanner service account to authenticate AIP service. Token sets and stores credentials for the delegated user to authenticate to Azure Information Protection.

    User's image

    There is no direct way to validate that token has been acquired or prevent the access utilization, but your on-prem service account need to be in synchronized to Microsoft Entra ID to download and execute the scanner's policy.

    Reference- https://learn.microsoft.com/en-us/purview/deploy-scanner-prereqs#service-account-requirements

    I would suggest you post this idea at the Azure Feedback Portal, which is monitored by the product team for feature enhancements.

    Hope this will help.

    Thanks,

    Shweta