Skip to content

[Microsoft Graph v1.0]: aad siteclassification enable #2675

Description

@garrytrinder

The aad siteclassification enable command currently uses the beta/settings and beta/directorySettingTemplates endpoints in its implementation, this should be updated to use the v1.0/groupSettings and `beta/groupSettingTemplate endpoints.

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

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

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

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions