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
The
aad siteclassification disablecommand currently uses thebeta/settingsendpoint in its implementation, this should be updated to use thev1.0/groupSettingsendpoint.cli-microsoft365/src/m365/aad/commands/siteclassification/siteclassification-disable.ts
Lines 37 to 43 in 1bae1ad
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
cli-microsoft365/src/m365/aad/commands/siteclassification/siteclassification-disable.ts
Lines 65 to 72 in 1bae1ad
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