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 / The parameter 'drive' ...
Power Automate
Answered

The parameter 'drive' has an invalid value when creating a table

(0) ShareShare
ReportReport
Posted on by

Hello, I'm creating a flow that automatically generate excel files. The part of generating the files is working but I also want to create tables in this file. The actions of creating the tables is giving me Error 400: The parameter drive has an invalid value. I think the problem is that I have a link to the library where the files are being created. Any help would be appreciate it.

Screen Shot 2024-03-07 at 10.50.38 AM.png

Categories:
  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    Can you upload a screenshot in design mode?

     

  • Verified answer
    Perumal Profile Picture
    604 on at

    You have to use the Drive Id instead of Site URL or file path, So use this expression to get the drive id 
    split(outputs('Create_file')?['body/Id'], '.')[0]

    Perumal_0-1709882662923.jpeg

     

    If this solution proves helpful and resolves your issue, kindly consider marking it as accepted. Doing so will aid others who encounter similar challenges in the future.

    Regards,
    NarasimaPerumal Chandramoha
    Microsoft MVP
    Apps4.Pro - Trusted Office365 T2T Migration partner. Migrate Exchange, SharePoint, Microsoft Teams, Stream, Yammer, Power Platform between tenants.
    Product Specialist - http://www.apps4.pro/

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
Mohsin Ali Profile Picture

Mohsin Ali 430

#2
11manish Profile Picture

11manish 341 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 282

Last 30 days Overall leaderboard