Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

Environment variable |SharePoint create file error

(1) ShareShare
ReportReport
Posted on by 26

Hello Folks- I'm trying to create excel file in SharePoint , I have stored the URL in environment variable and while passing in flow i'm receiving the error bad request,. However when hard code the URL the flow is working.Could you please help me in fixing this problem? 

_Kar__0-1721140882106.png

Thanks in advance

  • Nived_Nambiar Profile Picture
    Nived_Nambiar 17,030 on at
    Re: Environment variable |SharePoint create file error

    Hi @_Kar_ 

     

    Try to use the exact url as shown in sharepoint site when you open it , it would helps 🙂

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

  • _Kar_ Profile Picture
    _Kar_ 26 on at
    Re: Environment variable |SharePoint create file error

    @Nived_Nambiar  Thanks for the quick response, I have used the URL from dropdown

  • Nived_Nambiar Profile Picture
    Nived_Nambiar 17,030 on at
    Re: Environment variable |SharePoint create file error

    Hi @_Kar_ 

     

    well it tried as well it worked for me when using sharepoint site url in environment variable.

     

    Did you used the exact SharePoint site url which can used for opening the sharepoint site or the url value which appears in the dropdown of create file sharepoint site address field ?

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,434

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,722

Leaderboard