Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi - running into an issue trying to get the defintion of a Semantic Model in a notebook.
Note that the parameters are correct as if i drop the /getDefinition from the end I get results back as expected for the Semantic Model.
Code in notebook below
Solved! Go to Solution.
yes changed and resolved thank you
Hi @BryanCarmichael,
Thank you for reaching out in Microsoft Community Forum.
Thank you @spencer_sa, @lbendlin for the helpful response.
As suggested by Spencer_sa,Ibendlin, I hope this information was helpful. Please let me know if you have any further questions or you'd like to discuss this further. If this answers your question, please "Accept as Solution" and give it a 'Kudos' so others can find it easily.
Please continue using Microsoft community forum.
Regards,
Pavan.
As an aside, if you're doing this in a Fabric notebook, you can use semantic-link-labs (aka sempy) with the FabricRESTClient class to do away with the whole 'Get Token' and request crafting malarky.
https://learn.microsoft.com/en-us/python/api/semantic-link-sempy/sempy.fabric.fabricrestclient?view=...
https://fabric.guru/using-fabricrestclient-to-make-fabric-rest-api-calls
If this helps, please consider Accepting as a solution to help other people find it more easily.
You used GET. This needs to be a POST call.
thank you! this helped me greatly