The aad siteclassification get 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
The
aad siteclassification getcommand currently uses thebeta/settingsendpoint in its implementation, this should be updated to use thev1.0/groupSettingsendpoint.cli-microsoft365/src/m365/aad/commands/siteclassification/siteclassification-get.ts
Lines 26 to 32 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