Enabling and disabling features in SharePoint from Power Automate flows is possible. To activate a feature, use the `_api/site/features/add` endpoint with the feature's GUID. To deactivate a feature, use the `_api/site/features/remove` endpoint with the feature's GUID. However, deactivating a feature may result in a Forbidden warning. To overcome this, you can use Azure Automation and PnP PowerShell to create a runbook that disables and enables the feature. Then, in your flow, you can use the Create job action to restart or deactivate the feature.
Login now to access my digest by 365.Training