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

Notifications

Announcements

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:
I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,136 Super User 2025 Season 2 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! 🙌

     

  • _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,136 Super User 2025 Season 2 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! 🙌

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 245 Super User 2025 Season 2

#2
trice602 Profile Picture

trice602 228 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 188 Most Valuable Professional

Last 30 days Overall leaderboard