How to register Service Principal "MicrosoftPurviewEDiscovery" (b26e684c-5068-4120-a679-64a5d2c909d9) with out using MS Graph.

Kumkuse 21 Reputation points
2024-03-13T11:27:12.8066667+00:00

I am able to register service principal MicrosoftPurviewEDiscovery  (26e684c-5068-4120-a679-64a5d2c909d9) using Microsoft graph.

Is there other way rather than MS Graph to register MicrosoftPurviewEDiscovery ?

I have tried searching multiple documents and explored other ways to achieve but unable to do.

Please help me in assisting for the above .

Microsoft Security | Microsoft Graph
Microsoft Security | Microsoft Purview
{count} votes

Accepted answer
  1. PRADEEPCHEEKATLA 90,651 Reputation points Moderator
    2024-03-19T03:19:39.45+00:00

    @Kumkuse - I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to accept the answer .

    Ask: How to register Service Principal "MicrosoftPurviewEDiscovery" (b26e684c-5068-4120-a679-64a5d2c909d9) with out using MS Graph?

    Solution: Just wanted to tell there is command where we can register MicrosoftPurviewEdiscovery alternatively other than Microsoft Graph by the below command.

    new-azureadserviceprincipal –appid 'b26e684c-5068-4120-a679-64a5d2c909d9'

    If I missed anything please let me know and I'd be happy to add it to my answer, or feel free to comment below with any additional information.

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


    Please don’t forget to Accept Answer and Yes for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. PRADEEPCHEEKATLA 90,651 Reputation points Moderator
    2024-03-14T09:35:09.3166667+00:00

    @Kumkuse - Thanks for the question and using MS Q&A platform.

    Registering a service principal can only be done through the Azure portal or Microsoft Graph API. The Azure portal provides a user interface for managing Azure resources, including service principals. On the other hand, Microsoft Graph API provides programmatic access to Azure AD resources, including service principals.

    If you have any further questions or need more information, please let me know.

    0 comments No comments

  2. Kumkuse 21 Reputation points
    2024-03-18T07:28:25.63+00:00

    hi @PRADEEPCHEEKATLA ,

    Thanks for replying, Just wanted to tell there is command where we can register MicrosoftPurviewEdiscovery alternatively other than Microsoft Graph by the below command.

    new-azureadserviceprincipal –appid 'b26e684c-5068-4120-a679-64a5d2c909d9'


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.