Set-AzSynapseNotebook (Az.Synapse) powershell module doesn't support notebooks with .py format. Currently it is work with .ipynb format only. Is there any work around for this?
Set-AzSynapseNotebook (Az.Synapse) powershell module doesn't support notebooks with .py format. Currently it is work with .ipynb format only. Is there any work around for this?
Hello @GunaEINFOSYSLIMITED-1594,
Following up to see if the below suggestion was helpful. And, if you have any further query do let us know.
Please don't forget to click on
or upvote
button whenever the information provided helps you.
Hello @GunaEINFOSYSLIMITED-1594,
Welcome to the Microsoft Q&A platform.
Synapse notebooks recognize standard Jupyter Notebook IPYNB files using PowerShell.
As per the repro, I had tested with notebooks with extensions (Python, JSON, DBC, HTML & IPYNB) files.
Using PowerShell: Only IPYNB files is the supported notebook file format. And for other formats you will experience this error message as
is an invalid start of a value. LineNumber:0 | BytePositionInLine: 0

For more details, refer to Azure Synapse Analytics - Create a Notebook.
Hope this will help. Please let us know if any further queries.
Please don't forget to click on
or upvote
button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
Want a reminder to come back and check responses? Here is how to subscribe to a notification
If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators
[1]: /answers/storage/attachments/143570-synapse-notebook-ipynb.gif
thanks @PRADEEPCHEEKATLA-MSFT for the Quick Response. Currently, from portal we can import .py notebooks to synapse workspace, only powershell module is not supporting the format
is there any road map that synapse powershell module( rest API) supports .py format notebook?
Hello @GunaEINFOSYSLIMITED-1594,
Yes, you are correct.
Synapse notebooks recognize standard Jupyter Notebook IPYNB files using PowerShell. We are currently working with the product team to add this feature in PowerShell.
I will update this thread once it available.
10 people are following this question.