Forum Discussion

Charline_74's avatar
Charline_74
Resolver I
1 year ago
Solved

API : Items - Update Notebook Definition

Does anyone know how to configure this API and make it work via a PowerShell script?

6 Replies

  • v-nmadadi-msft's avatar
    v-nmadadi-msft
    Community Support

    Hi Charline_74  ,
    Thanks for reaching out to the Microsoft fabric community forum.

     If you want to send or retrieve data to a REST API using Powershell it can be done using Invoke-RestMethod cmdlet. This cmdlet sends HTTP requests using various HTTP methods to REST API endpoints.
    To learn more about Invoke-RestMethod please refer to this document: Invoke-RestMethod (Microsoft.PowerShell.Utility) - PowerShell | Microsoft Learn

    Based on that information you can refer the update notebook definition document and try to run the mentioned HTTP request in powershell

    If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a KUDOS.
    Thanks and Regards

  • v-nmadadi-msft's avatar
    v-nmadadi-msft
    Community Support

    Hi Charline_74 ,

    May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

    Thank you.

  • v-nmadadi-msft's avatar
    v-nmadadi-msft
    Community Support

    Hi Charline_74 ,

    I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.


    Thank you.

     

  • v-nmadadi-msft's avatar
    v-nmadadi-msft
    Community Support

    Hi Charline_74 ,

    As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by the community members for the issue worked. If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.

     

    Thanks and regards