How YOU Can Create Lakehouses Using the Microsoft Fabric API!
Автор: Pragmatic Works
Загружено: 2025-06-05
Просмотров: 731
Skip the UI and spin up a Microsoft Fabric Lakehouse in seconds with the Fabric REST API! In this hands-on tutorial, Zane Goodman shows how to call the POST /workspaces/{id}/lakehouses endpoint from a Fabric notebook using Python’s requests library. Learn where to find your workspace ID, set JSON headers, generate an Entra ID access token with mssparkutils.credentials.getToken(), and parse the 201 response to confirm success. By the end, you’ll have a brand-new Lakehouse and a reusable code template for automating Fabric resources.
👉 On-Demand Learning - Start With The FREE Community Plan: https://prag.works/odl-trial-yt
🔗Pragmatic Works On-Demand Learning Packages: https://pragmaticworks.com/pricing/
🔗Pragmatic Works Boot Camps: https://pragmaticworks.com/boot-camps/
🔗Pragmatic Works Hackathons: https://pragmaticworks.com/private-tr...
🔗Pragmatic Works Virtual Mentoring: https://pragmaticworks.com/virtual-me...
🔗Pragmatic Works Enterprise Private Training: https://pragmaticworks.com/private-tr...
🔗Pragmatic Works Blog: http://blog.pragmaticworks.com/
00:00 – Why automate Lakehouse creation?
00:44 – Project setup: Fabric notebook & Python imports
02:14 – Crafting the API endpoint + workspace ID
03:07 – Building headers & JSON payload
04:40 – Finding your workspace GUID in the URL
05:25 – Writing the requests.post() call
06:22 – 403 error: you need an access token
07:56 – Generate a token with mssparkutils.credentials
08:45 – Running the call and reading the 201 response
09:57 – Opening the freshly created Lakehouse in Fabric
10:19 – Exploring notebook-utils help & next-step resources
Let's connect:
✔️Discord: https://prag.works/yt-discord
✔️Facebook: https://prag.works/yt-fb
✔️Instagram: https://prag.works/yt-insta
✔️LinkedIn: https://prag.works/yt-li
Pragmatic Works
7175 Hwy 17, Suite 2 Fleming Island, FL 32003
Phone: (904) 638-5743
Email: [email protected]
#PragmaticWorks

Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: