msgraph-sdk-go
msgraph-sdk-go copied to clipboard
Microsoft Graph SDK for Go
### Describe the bug I am trying to create an App Registration via `GraphServiceClient` with a Federated Credential: ``` func (c *Client) CreateServicePrincipal() (string, error) { appRequestBody := graphmodels.NewApplication() name...
Recall versions 1.44 and 1.45 Depends on https://github.com/microsoft/kiota/pull/4817
Trying to achieve [this](https://learn.microsoft.com/en-us/graph/api/driveitem-delta?view=graph-rest-1.0&tabs=go#example-4-retrieving-delta-results-using-a-timestamp) using the sdk. Sample Code: ``` func getDelta(ctx context.Context, client *msgraphsdkgo.GraphServiceClient, driveID, itemID string) error { reqHeaders := abstractions.NewRequestHeaders() reqHeaders.TryAdd("Prefer", "hierarchicalsharing, deltashowremovedasdeleted, deltatraversepermissiongaps, deltashowsharingchanges") timestamptoken :=...
I'm following the [documentation ](https://learn.microsoft.com/en-us/graph/api/team-post?view=graph-rest-1.0&tabs=go#example-2-application-permissions) to create a team in Teams by using the following code: ```go newTeam := graphmodels.NewTeam() displayName := "Test team" newTeam.SetDisplayName(&displayName) newTeam.SetAdditionalData(map[string]interface{}{ "[email protected]": "https://graph.microsoft.com/v1.0/teamsTemplates('standard')", }) //...
I am trying to implement the delta query to track user changes. For example, I changed `First name` and `Last name` to empty on https://entra.microsoft.com/ . ![スクリーンショット 2024-06-06 14 21...
This pull request was automatically created by Azure Pipelines. **Important** Check for unexpected deletions or changes in this PR.
### Describe the bug With an app-only authentication program I am attempting to monitor particular user's mail folder utilizing delta requests. The requests work in Graph Explorer. When utilizing the...
### Describe the bug I’m trying to query users with the Delta API in the Go SDK, but examples in Microsoft documentation don’t match available SDK entities. ### Detailed Description:...
### Describe the bug I want to create links to emails or their conversation. As the links should be stable when moving email i am using `req.Header.Add("Prefer", "IdType=\"ImmutableId\"")` as described...
This pull request was automatically created by Azure Pipelines. **Important** Check for unexpected deletions or changes in this PR.