cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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

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

Hi Alice,

 

I just need the OneDrive fileId 

 

Thanks

Sven

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Top Kudoed Authors
Users online (9,785)