Enable SharePoint OpenInClient with Power Automate
Question details
Enable the SharePoint OpenInClient feature programmatically so documents open in desktop applications by default.

- Product
- SharePoint Online and Power Automate
- Device & OS
- not provided
- Scenario
- An administrator wants to configure the feature for SharePoint site collections, including newly created sites.
- Observed behavior
- The desired state is for supported documents to open in desktop applications by default; Microsoft Graph does not appear to expose the required site feature operation directly.
Identify the target SharePoint site collection URL and use a Power Automate connection with permission to activate site collection features. Have a supported desktop application available to test document opening.
Activate OpenInClient with a SharePoint REST request
Use Power Automate to enable the site collection feature without relying on a Microsoft Graph feature operation.
In Power Automate, select Create and choose a flow type and trigger. For a test, use an instant cloud flow.
Select New step and add SharePoint's Send an HTTP request to SharePoint action. Set Site Address to the target site collection.
Set Method to POST and enter `_api/site/features/add(8A4B8DE2-6FD8-41E9-923C-C7C3C00F8295)` in the Uri field.
Select Save, then Test and run the flow. Check the action's run history for a successful response, then open a supported document from the site to verify the behavior.
Add the same action to your site provisioning flow, or use a suitable trigger that supplies the new site's URL. Set Site Address dynamically for each target site collection.

Open Office documents with WPS Office
WPS Office is a free, lightweight Office alternative with a familiar interface and support for common Microsoft Office formats, making it easy to move existing documents into a desktop workflow. It does not enable SharePoint's OpenInClient feature.

Frequently Asked Questions
Can Microsoft Graph enable the OpenInClient site feature directly?
Microsoft Graph does not appear to expose the required site collection feature operation directly. Use the SharePoint REST API through Power Automate's Send an HTTP request to SharePoint action instead.
Which site should I use in the Power Automate action?
Set Site Address to the target SharePoint site collection. The `_api/site/features` endpoint operates on site collection features.
How can I enable the feature for newly created sites?
Add the POST request to your site provisioning flow or another flow that receives each new site URL. Use that URL as the action's Site Address.
Why might a document still open in the browser?
Check whether the document type has a supported desktop app installed, and review the library and user opening settings. The site collection feature may not override every applicable setting.




