| description |
Automatically generated file. DO NOT MODIFY |
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph_beta import GraphServiceClient
from msgraph_beta.generated.models.ownerless_group_policy import OwnerlessGroupPolicy
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
request_body = OwnerlessGroupPolicy(
is_enabled = False,
)
result = await graph_client.policies.ownerless_group_policy.patch(request_body)