microsoftgraph / microsoftgraph/msgraph-metadata

Customers list is coming empty in list of MS Bookings appointments

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

Nobody has claimed this yet.

Dominant language
XSLT
Stars
166
Forks
55
Avg merge
16h 12m
Merged PRs (30d)
14

Description

Describe the bug

After calling Microsoft.Graph.Solutions.BookingBusinesses["id"].Appointments.GetAsync() I'm expecting to get the list of customers per appointment but the list comes empty.

To Reproduce

Steps to reproduce the behavior:

Use this example: https://learn.microsoft.com/en-us/graph/tutorials/dotnet?tabs=aad

Configure Microsoft 365 E5 instant sandbox.

Nuget Packages

<ItemGroup>
    <PackageReference Include="Azure.Identity" Version="1.8.2" />
    <PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="7.0.4" />
    <PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="7.0.0" />
    <PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="7.0.0" />
    <PackageReference Include="Microsoft.Graph" Version="5.9.0" />
  </ItemGroup>

C# code

GraphServiceClient client = new GraphServiceClient(_deviceCodeCredential, settings.GraphUserScopes);
var result = client.Solutions.BookingBusinesses[bookingBusinessId].Appointments.GetAsync();

Expected behavior
I'm expecting to get the list of appointments with its customers.

like this one https://learn.microsoft.com/en-us/graph/api/bookingbusiness-list-appointments?view=graph-rest-1.0&tabs=http#response-1

Screenshots

image

image

image

Am I missing a configuration somewhere?

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 Microsoft.Graph.Solutions.BookingBusinesses[bookingBusinessId].Appointments.GetAsync() call using the listed package versions and the Microsoft Graph tutorial setup. Compare the returned appointments with the documented response and investigate the reported configuration question; done means establishing why customers are absent and identifying the relevant API or setup behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.