-
Notifications
You must be signed in to change notification settings - Fork 262
Closed
microsoftgraph/msgraph-sdk-dotnet-core
#135Labels
Description
- Expected behavior. Please provide links to the specific Microsoft Graph documentation you used to determine the expected behavior.
- Actual behavior. Provide error codes, stack information, and a Fiddler capture of the request and response (please remove personally identifiable information before posting).
- Steps to reproduce the behavior. Include your code, IDE versions, client library versions, and any other information that might be helpful to understand your scenario.
I'm trying to add a group to a lifecycle policy and the call to
await Client.GroupLifecyclePolicies[lifecyclePolicyId].AddGroup(groupId).Request().PostAsync(ct); is throwing exception:
Newtonsoft.Json.JsonReaderException: 'Unexpected character encountered while parsing value: {. Path '', line 1, position 1.'
Expected behavior
The call should not throw
Actual behavior
The call is throwing
Steps to reproduce the behavior
Create an Office365 group in Azure Active Directory and add it to a lifecycle policy
and then call
await Client.GroupLifecyclePolicies[lifecyclePolicyId].AddGroup(groupId).Request().PostAsync(ct);
I'm using Microsoft.Graph 1.17.0 from a .NET Framework 4.6.1 project