MS Graph example throws "already contains a definition" errors

I tried to create the MS Graph data connection example (MS Graph (Blazor)) but it seems the MS graph changed again(?). I will try to exclude some objects in the OData interface generation, but if you have a quick hint I would much appreciate it. Thank you.

dotnet: C:\git\MyProject\server\Startup.cs(24,7): warning CS0105: The using directive for 'Microsoft.AspNetCore.Authentication.OpenIdConnect' appeared previously in this namespace [C:\git\MyProject\server\MyProject.csproj]
C:\git\MyProject\server\Models\MsGraph\microsoft.graph.modality.cs(5,17): error CS0101: The namespace 'MyProject.Models.MsGraph' already contains a definition for 'Modality' [C:\git\MyProject\server\MyProject.csproj]
C:\git\MyProject\server\Models\MsGraph\microsoft.graph.termStore.group.cs(11,23): error CS0102: The type 'Group' already contains a definition for 'id' [C:\git\MyProject\server\MyProject.csproj]
C:\git\MyProject\server\Models\MsGraph\microsoft.graph.termStore.group.cs(17,26): error CS0102: The type 'Group' already contains a definition for 'createdDateTime' [C:\git\MyProject\server\MyProject.csproj]
C:\git\MyProject\server\Models\MsGraph\microsoft.graph.termStore.group.cs(23,23): error CS0102: The type 'Group' already contains a definition for 'description' [C:\git\MyProject\server\MyProject.csproj]
C:\git\MyProject\server\Models\MsGraph\microsoft.graph.termStore.group.cs(29,23): error CS0102: The type 'Group' already contains a definition for 'displayName' [C:\git\MyProject\server\MyProject.csproj]
C:\git\MyProject\server\Models\MsGraph\microsoft.graph.identity.cs(17,23): error CS0102: The type 'Identity' already contains a definition for 'id' [C:\git\MyProject\server\MyProject.csproj]

dotnet: 

dotnet: The build failed. Fix the build errors and run again.

I've just inferred latest definitions of MSGraph in Blazor server .NET 6 app however everything worked normally for me:

1 Like

Thank you for checking. I use Azure B2C security as well in this project. I will delete and regenerate some files and report back.