Hi !
I Am using Power Automate to provision teams.
Is there any ways to change M 365 group life cycle and Group sensitivity Label when the Team get created through the flow?
Hi @titawitch ,
I'm afraid there is no such an out-of-box action can meet your needs. But you could add specific groups to a lifecycle policy by calling a graph API in flow:
POST https://graph.microsoft.com/v1.0/groupLifecyclePolicies/{id}/addGroup
Content-type: application/json
{
"groupId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
}
I think this link will help you a lot:
groupSettingTemplate resource type - Microsoft Graph v1.0 | Microsoft Docs
Best Regards,
Bof
Thanks for the replay. But I don't need to add a group. The group gets created through an power app and flow. After the creation I need to set the lifecycle to 365 or 180 days based on the value that comes from the Powerapp and flow.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
3 | |
2 | |
2 | |
1 | |
1 |
User | Count |
---|---|
5 | |
3 | |
3 | |
2 | |
2 |