Skip to content

Update all spe containertype commands to use Graph beta endpoint #6840

@Jwaegebaert

Description

@Jwaegebaert

We should update all spe containertype commands to use the Microsoft Graph beta endpoint at:

https://graph.microsoft.com/beta/storage/fileStorage/containerTypes

ref: https://learn.microsoft.com/en-us/graph/api/resources/filestoragecontainertype?view=graph-rest-beta

This change will replace the current _vti_bin/client.svc/ProcessQuery implementation. By moving to the Graph beta API, we enable users to assign the dedicated Graph permission FileStorageContainerType.Manage.All to their app registrations, removing the need for the process query approach. This aligns our implementation with modern Graph APIs and avoids legacy dependencies.

As part of this update, we should make sure that the new implementation provides the same responses and error handling as the current commands. Documentation should also be updated to reflect the new endpoint and permission requirements.

We should include a remark in the command help to inform users that this functionality relies on a beta Graph endpoint, which is subject to change and may require adjustments in the future.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions