Microsoft graph go sdk list service principals

Biju Joseph 1 Reputation point
2022-10-17T17:42:16.54+00:00

I am trying to create a go progarm to list service principals that starts with a specific name. Trying to follow the example in following URL, looks like the library "graphconfig" is not defined.

https://learn.microsoft.com/en-us/graph/api/serviceprincipal-list?view=graph-rest-beta&tabs=go#example-3-use-filter-and-top-to-get-one-service-principal-with-a-display-name-that-starts-with-a-including-a-count-of-returned-objects

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,457 questions
{count} votes

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.