cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

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
Highlighted
Community Support
Community Support

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.

Highlighted
Helper I
Helper I

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

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

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!

Top Solution Authors
Top Kudoed Authors
Users online (8,408)