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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Environment variable |...
Power Automate
Unanswered

Environment variable |SharePoint create file error

(1) ShareShare
ReportReport
Posted on 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

Categories:
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    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! 🙌

     

  • _Kar_ Profile Picture
    28 on at

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

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    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! 🙌

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 263

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard