web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : AjwgkshC+vsVgR6U3ktEJt
Power Automate - General Discussion
Unanswered

Environment variable |SharePoint create file error

Like (1) ShareShare
ReportReport
Posted on 16 Jul 2024 14:43:18 by 28

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
    17,954 Super User 2025 Season 2 on 16 Jul 2024 at 16:21:04
    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
    28 on 16 Jul 2024 at 15:50:55
    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
    17,954 Super User 2025 Season 2 on 16 Jul 2024 at 15:01:12
    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

Announcing our 2025 Season 2 Super Users!

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2