Bad Request - Resource not found for the segment 'columns' #947
Labels
status:waiting-for-triage
An issue that is yet to be reviewed or assigned
type:bug
A broken experience
Describe the bug
I am trying to add a new column to a SharePoint Embedded container using C# and when running the code obtained from here I am getting a Microsoft.Graph.Beta.Models.ODataErrors.ODataError with the message "Bad Request - Resource not found for the segment 'columns'". Other endpoints such as creating a Container work fine when called from the same GraphServiceClient.
Expected behavior
The column is successfully created and no error occurs
How to reproduce
`var requestBody = new ColumnDefinition
{
Description = "test",
EnforceUniqueValues = false,
Hidden = false,
Indexed = false,
Name = "Title",
Text = new TextColumn
{
AllowMultipleLines = false,
AppendChangesToExistingText = false,
LinesForEditing = 0,
MaxLength = 255,
},
};
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.Storage.FileStorage.Containers["{fileStorageContainer-id}"].Columns.PostAsync(requestBody);`
SDK Version
5.88.0
Latest version known to work for scenario above?
No response
Known Workarounds
No response
Debug output
Click to expand log
```The text was updated successfully, but these errors were encountered: