microsoftgraph / microsoftgraph/msgraph-beta-sdk-dotnet

Beta endpoints marked as obsolete in .NET SDK

Open
#1,091 1 comment 0 reactions 1 assignee View on GitHub

@MIchaelMainer is already working on this.

Since Apr 13, 2026.

Service issue
Dominant language
C#
Stars
112
Forks
37
Avg merge
14h 57m
Merged PRs (30d)
3

Description

Describe the bug

Hi,
for some reason, the Microsoft.Graph.Beta.Admin.Exchange.ExchangeRequestBuilder has the following properties

  • Mailboxes
  • MessageTraces
  • Traces

generated with the obsolete attribute and with the message

Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15.

Same for the Microsoft.Graph.Beta.Me.Settings.Exchange.GetAsync().

Would it be possible to remove the obsolete message from metadata, so .NET SDK code is generated without the obsolete attribute?

Expected behavior

The mentioned properties and method are generated without the obsolete attribute

How to reproduce

Create a console app, install the latest version of beta nuget and add the following code:

var client = new GraphServiceClient(credential);

var result = await client.Me.Settings.Exchange.GetAsync();
var mailboxId = result.PrimaryMailboxId;

var rootFolder = await client.Admin.Exchange.Mailboxes[mailboxId].Folders[folderId].GetAsync();
SDK Version

5.131.0-preview

Latest version known to work for scenario above?

No response

Known Workarounds

No workarounds

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.