Nuget Package for Office 365 Management API

Eisenhaur, Liam 21 Reputation points
2020-07-29T18:28:18.02+00:00

I a writing a console app that needs to use the Office 365 Management API permissions from Azure Active Directory. I have used the Microsoft.Graph nuget package previously but haven't been able to figure out if there is a nuget package for Office 365 Management or what it might be called.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,420 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Saurabh Sharma 23,806 Reputation points Microsoft Employee
    2020-07-29T19:33:35.85+00:00

    @Eisenhaur, Liam There are not nuget packages or sdk available currently for using Office Management API. You need to call the rest api endpoint to achieve your goal. If you are using C# then you can get the access token using MSAL and then you can use the API. Please refer to the documentation for details. Here is an external blog which can you also refer.

    You can also provide this as a feedback to O365 UserVoice so that community can upvote and products team can include in future releases.

    ----------

    Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.


  2. 2020-07-29T19:54:42.763+00:00

    There's not nuget package for Office Management API but you can develop your own solution using the HttpClient class, the Microsoft.AspNet.WebApi.Client nuget package and for authentication Azure.Identity or Microsoft.Identity.Client. All together with the Office 365 Management Activity API reference.

    0 comments No comments

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.