Skip to content

Adding external reference to PlannerTaskDetails results in dangling name exception #2505

@JackieDanes1990

Description

@JackieDanes1990

Describe the bug

I am using the latest version of the library, and I'm trying to add some links to PlannerTaskDetails.
Given the PlannerExternalReference is not generated for the library, I created my own record that matches the documentation ( https://learn.microsoft.com/en-us/graph/api/resources/plannerexternalreferences?view=graph-rest-1.0 besides the type, which seems wrong and doesn't match up with the explorer so I replace that with microsoft.graph.plannerExternalReference).

I have a list of URLs, so on my details => plannerExternalReferences I then call setAdditionalData with a map of String, and my PlannerExternalReference record, where the String is my url partially escaped in the same manner in the documentation.

Running this code results in an exception in the form of: dangling name https%3A//contoso%2Esharepoint%2Ecom/teams/agile/documents/AnnualReport%2Epptx

Expected behavior

To have reference(s) added to my task.

How to reproduce

Mentione in the description

SDK Version

6.55.0

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:waiting-for-triageAn issue that is yet to be reviewed or assignedtype:bugA broken experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions