MIP SDK Setup error

JD 1 Reputation point
2020-10-09T15:45:57.78+00:00

Following this guide, https://learn.microsoft.com/en-us/information-protection/develop/setup-configure-mip then https://learn.microsoft.com/en-us/information-protection/develop/quick-app-initialization-csharp , I am running into an error when trying to authenticate my user: ![31275-image.png][1] [1]: /api/attachments/31275-image.png?platform=QnA I tried following the steps in the guide exactly, but I must've missed something. Any help on what I am missing?

Request Id: 868e46d1-a2de-4cd4-b9f1-801ef6a2ac00
Correlation Id: f130039e-151a-4382-b79a-4b5820f6adf9
Timestamp: 2020-10-09T15:27:07Z
Message: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '0fa30be3-24ce-43ac-bc53-925952f16b4d'.

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.
523 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JamesTran-MSFT 36,496 Reputation points Microsoft Employee
    2020-10-10T00:20:48.223+00:00

    @JD
    Thank you for your post!

    Walking through the documentation, I was able to reproduce your error message and will post my findings below.

    Findings:
    After compiling my program and logging in, I received the same error message:

    31318-image.png

    I realized that I was using a Web platform redirectURI, so I had to specify the actual "Mobile and Desktop Applications" platform and save my redirectURI in that.
    -My redirect format <projectName>://authorize
    31365-image.png

    After adding the correct RedirectURI, I was able to successfully log in and run my program.

    If you have any other questions, please let me know.
    Thank you for your time and patience throughout this issue.

    ----------

    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.