Is there a defined format for OneDrive (for Business) FileID?

Ayush Jain 40 Reputation points
2024-10-25T08:45:24.42+00:00

What is the expected length and format of the OneDrive FileID? Can it vary for different users or change in the future?

Based on observations, the FileID appears to consistently be 34 characters long. Is there any official documentation regarding the specifications of OneDrive FileID?

Microsoft 365 and Office | OneDrive | For business | Windows
Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

Answer accepted by question author
  1. Anonymous
    2024-10-28T02:54:37.9533333+00:00

    Hello Ayush Jain,

    Thank you for reaching out to Microsoft Support!

    In the Graph documentation about OneDrive FileID it is only mentioned that this property is a unique identifier for items in Drive, read only.

    User's image

    So, as far as I know, the length of this property is 34 characters, it does not change depending on the user, each file has its own unique id, and there is currently no message about changing this, so it will not change in the short term.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.