The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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
User | Count |
---|---|
4 | |
4 | |
3 | |
2 | |
1 |
User | Count |
---|---|
15 | |
15 | |
11 | |
6 | |
6 |