microsoftgraph / microsoftgraph/msgraph-sdk-dotnet

5.56.0 breaks ExternalConnectors.DisplayTemplate.Layout with UntypedNode

Open
#2,652 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

P1 type:bug
Dominant language
C#
Stars
789
Forks
264
Avg merge
15h 17m
Merged PRs (30d)
3

Description

Describe the bug

Code that worked and compiled fine before to set a display template on an ExternalConnection now gives the error:

C:\Source\Repos\msgraph-sample-github-connector-dotnet\src\Services\SearchConnectorService.cs(154,29): error CS0117: 'UntypedNode' does not contain a definition for 'AdditionalData' [C:\Source\Re
pos\msgraph-sample-github-connector-dotnet\src\GitHubConnector.csproj]

Expected behavior

Code should continue to compile and work.

How to reproduce

Sample that repros error: https://github.com/microsoftgraph/msgraph-sample-github-connector-dotnet

Relevant line: https://github.com/microsoftgraph/msgraph-sample-github-connector-dotnet/blob/20d80700de852245edb16c44a73cb2ed53d436b8/src/Services/SearchConnectorService.cs#L154

SDK Version

5.56.0

Latest version known to work for scenario above?

5.55.0

Known Workarounds

No response

Debug output
Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_

Contributor guide

Open the contributing guide

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 linked sample at src/Services/SearchConnectorService.cs around line 154 and build it against Microsoft Graph SDK 5.56.0 to reproduce the UntypedNode.AdditionalData error. Compare the relevant behavior with SDK 5.55.0 and inspect the ExternalConnectors.DisplayTemplate.Layout types. Done means the sample compiles and the display template still works on an ExternalConnection.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api, developer-experience
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.