microsoftgraph / microsoftgraph/microsoft-graph-comms-samples

Error converting value "meetNow" to type 'Microsoft.Graph.Agents.SchedulingService.MeetingType'. Path 'meetingType'

Open
#357 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
253
Forks
275
Avg merge
1d 5h
Merged PRs (30d)
1

Description

    {
        IAuthenticationProvider GetAuthenticationProvider()
        {
            return new DelegateAuthenticationProvider(async request =>
            {
                request.Headers.Add(HttpConstants.HeaderNames.ScenarioId, scenarioId.ToString());
                request.Headers.Add(HttpConstants.HeaderNames.ClientRequestId, Guid.NewGuid().ToString());

                await this.requestAuthenticationProvider
                    .AuthenticateOutboundRequestAsync(request, tenantId)
                    .ConfigureAwait(false);
            });
        }

        var statelessClient = new GraphServiceClient(this.graphEndpointUri.AbsoluteUri, GetAuthenticationProvider());
        var meetingRequest = statelessClient.Communications.OnlineMeetings[meetingId].Request();

        **var meeting = await meetingRequest.GetAsync().ConfigureAwait(false);**

        return meeting;
    }

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the shown GraphServiceClient Communications.OnlineMeetings[meetingId].Request().GetAsync() call and the reported meetingType conversion error. Check the response data and the MeetingType definition to identify the incompatible value; done means the request can deserialize successfully without this error.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.