{"id":21196666,"url":"https://github.com/sandervandevelde/msft-fabric-management-function","last_synced_at":"2026-05-19T10:37:25.524Z","repository":{"id":206102464,"uuid":"715839587","full_name":"sandervandevelde/Msft-Fabric-Management-Function","owner":"sandervandevelde","description":"This Azure Function paused your Microsoft Fabric capacity on a daily basis","archived":false,"fork":false,"pushed_at":"2023-11-10T17:58:30.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-14T21:52:31.335Z","etag":null,"topics":["azure","capacity","function","microsoft-fabric","pause","time-trigger"],"latest_commit_sha":null,"homepage":"https://blog.vandevelde-online.com","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sandervandevelde.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-07T23:55:36.000Z","updated_at":"2023-11-08T00:38:18.000Z","dependencies_parsed_at":"2024-11-20T19:40:53.944Z","dependency_job_id":"3963c428-eb59-41f6-b57a-1cc36faee859","html_url":"https://github.com/sandervandevelde/Msft-Fabric-Management-Function","commit_stats":null,"previous_names":["sandervandevelde/msft-fabric-management-function"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sandervandevelde/Msft-Fabric-Management-Function","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandervandevelde%2FMsft-Fabric-Management-Function","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandervandevelde%2FMsft-Fabric-Management-Function/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandervandevelde%2FMsft-Fabric-Management-Function/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandervandevelde%2FMsft-Fabric-Management-Function/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sandervandevelde","download_url":"https://codeload.github.com/sandervandevelde/Msft-Fabric-Management-Function/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandervandevelde%2FMsft-Fabric-Management-Function/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265614332,"owners_count":23798427,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure","capacity","function","microsoft-fabric","pause","time-trigger"],"created_at":"2024-11-20T19:40:46.086Z","updated_at":"2026-05-19T10:37:25.481Z","avatar_url":"https://github.com/sandervandevelde.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Microsoft Fabric Management Function App\n\nThis Azure Function paused your Microsoft Fabric capacity on a daily basis (at 18:01 UTC).\n\nIt first checks the current state. If the capacity is running, the capacity is paused.\n\n## Blog post\n\nHow to use this Azure Function in combination with Microsoft Fabric is explained in this [blog post](https://sandervandevelde.wordpress.com/2023/11/10/microsoft-fabric-real-time-analytics-exploration-for-iot-developers/).\n\n## Credits\n\nThis Azure function uses the REST API as found [here](https://github.com/nocsi-zz/fabric-capacity-management/tree/main/postman).\n\nCheck out that repository for more details.\n\nThe [repository](https://github.com/nocsi-zz/fabric-capacity-management/), maintained by [Kasper Kirkegaard](https://github.com/nocsi-zz), offers automated solutions using Azure Data Factory and Fabric data pipelines.\n\n## Entra ID application \n\nThe Entra ID application, needed to get access to the service, can be acquired via the command line:\n\n```\naz ad sp create-for-rbac -n msftfabriccontributor\n```\n\nJust run it on the command line in the Azure portal.\n\nThis will result in a JSON message that looks like this:\n\n```\n{\n  \"application client Id\": \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\",\n  \"displayName\": \"msftfabriccontributor\",\n  \"password\": \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\",\n  \"directory tenant Id\": \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n\nI have taken the liberty to make the clientId and tenantId more descriptive.\n\n## Contributor role for the Entra ID application\n\nGive the Entra ID application contributor access to the Capacity so it can read and alter the state.\n\n## Application settings\n\nThe Azure Function expects a number of Azure function application settings:\n\n- apiVersion -\u003e at this moment **2022-07-01-preview** \n- appId -\u003e from RBAC message\n- dedicatedCapacityName -\u003e Resource name your Capacity \n- password -\u003e from RBAC message\n- resourceGroupName -\u003e name of the resource group your Capacity is living in\n- subsciptionId -\u003e from RBAC message\n- tennant -\u003e from RBAC message\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandervandevelde%2Fmsft-fabric-management-function","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsandervandevelde%2Fmsft-fabric-management-function","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandervandevelde%2Fmsft-fabric-management-function/lists"}