Skip to content

[Microsoft Graph v1.0]: aad siteclassification disable #2674

@garrytrinder

Description

@garrytrinder

The aad siteclassification disable command currently uses the beta/settings endpoint in its implementation, this should be updated to use the v1.0/groupSettings endpoint.

const requestOptions: any = {
url: `${this.resource}/beta/settings`,
headers: {
accept: 'application/json;odata.metadata=none'
},
responseType: 'json'
};

Note: The /beta version of this API only applies to groups. The /v1.0 version of this API has been renamed to Get groupSettings.

beta docs: https://docs.microsoft.com/en-us/graph/api/directorysetting-get?view=graph-rest-beta&tabs=http
v1.0 docs: https://docs.microsoft.com/en-us/graph/api/groupsetting-get?view=graph-rest-1.0&tabs=http

const requestOptions: any = {
url: `${this.resource}/beta/settings/` + unifiedGroupSetting[0].id,
headers: {
accept: 'application/json;odata.metadata=none',
'content-type': 'application/json'
},
responseType: 'json'
};

Note: The /beta version of this API only applies to groups. The /v1.0 version of this API has been renamed to Update groupSettings.

beta docs: https://docs.microsoft.com/en-us/graph/api/directorysetting-update?view=graph-rest-beta&tabs=http
v1.0 docs: https://docs.microsoft.com/en-us/graph/api/groupsetting-update?view=graph-rest-1.0&tabs=http

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions