cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
SvenG
Level: Powered On

Content of x-ms-file-id header in OnNewFileV2 flow

Hi folks,

 

I'm using a OneDrive for Business trigger On New File Created V2. There is a parameter called File identifier which comes from the header value x-ms-file-id. The output is not only the file id but also the driveid in the format: driveId.fileId

Example: b!gTp3wO20k0WtUmhuonLBuXtKRm1S13RNuuhZW7LPGGO5aH4qPCLyS6EC53Jw7wdh.02TZBWRJ7XXGSLXU4BIVHL4FNAQGY2V3RH

Currently I split this string by the dot (.) to get only the fileId part. 

 

I wonder if this is correct behavior?

 

Thanks

 

2 REPLIES 2
Community Support Team
Community Support Team

Re: Content of x-ms-file-id header in OnNewFileV2 flow

Hi @SvenG ,

 

Could you please explain more details about your requirement?

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

SvenG
Level: Powered On

Re: Content of x-ms-file-id header in OnNewFileV2 flow

Hi Alice,

 

I just need the OneDrive fileId 

 

Thanks

Sven

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors
Users online (4,902)