action microsoft_search_sites { label: "Search sites" description: "Search SharePoint sites the signed-in user can access." provider: microsoft method: GET path: "/v1.0/sites" scopes: ["Sites.Read.All"] input: @json { { "type": "object", "required": ["search"], "additionalProperties": false, "properties": { "search": { "type": "string", "description": "Search text matched against site names." }, "$top": { "type": "integer", "description": "Maximum number of sites to return." } } } } output: @json { { "type": "object", "additionalProperties": true, "properties": { "value": { "type": "array", "items": { "type": "object", "additionalProperties": true, "properties": { "id": { "type": "string" }, "displayName": { "type": "string" }, "name": { "type": "string" }, "webUrl": { "type": "string" } } } } } } } }