Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

One Drive File ID has changed.

(2) ShareShare
ReportReport
Posted on by 14

I have a couple of automations that grab files out of OneDrive when they are created and move them to sharepoint. The flows have been working just fine for a few years. Suddenly they are not.

I am getting this error trying to access the contents of the file after getting the file properties of the file:


{
"status": 400,
"message": "The file id '0123456789ABCDEF!s0123456789abcdef0123456789abcdef' is not valid.",
"source": "api.connectorp.svc.ms"
}


So going back to the runs that worked it seems that every One Drive file had an ID like this:

 

0123456789ABCDEF!01234

 

where the part after the ! is unique. The part before I assume represents my account.

From the runs that fail, the ID looks like this:

 

0123456789ABCDEF!s0123456789abcdef0123456789abcdef

 

Where again, the part before the ! looks like my account and the part after looks like the unique file id. But the service, api.connectorp.svc.ms does not accept it.

 

The FileLocator is identical to the Id and there is nothing else that looks like an Id I could use.


So, what do I do to fix this?

  • rsm94 Profile Picture
    rsm94 8 on at
    One Drive File ID has changed.
    In my flow, we move Photos from OneDrive (free) to Sharepoint.
    Even we switch to store our photos on Google Photos (not drive), using basic connectors from Automate, it is not possible to get these photos and move to Sharepoint, unfortunately.
    Hope Microsoft can fix it
    I have no idea anymore
  • PeeterTi Profile Picture
    PeeterTi 39 on at
    One Drive File ID has changed.
    The workaround is to move with source files to Google Drive, that is what I'm currently doing. There was a suggestion to re-create connections, but for me it didn't help. Still hope that this will be fixed by Microsoft.
     
    Br, 
    Peeter
  • rsm94 Profile Picture
    rsm94 8 on at
    One Drive File ID has changed.
    I'm also facing the same issue, still no workaround :/
  • PeeterTi Profile Picture
    PeeterTi 39 on at
    One Drive File ID has changed.
    Hi, 
     
    I'm also getting "The file id is not valid" error and all flows stopped working. Is there any other way to get the content of the file that is located on OneDrive Personal or it works only based on file id and there is no workaround to this issue? I have more than 20 flows affected where hundreds of users affected. Any help or advise is appreciated. 
     
    Br, 
    Peeter
  • CU29101522-0 Profile Picture
    CU29101522-0 2 on at
    One Drive File ID has changed.
    well, i have the same issue from 25.10.2024. It seems that file id length has changed:
    before: : B87D32AD8EEDDBCB!170636,
    now: B87D32AD8EEDDBCB!s6f13edaf10314f9e91d09ac25fb4c658 
    part in front of exclamation mark is folder_id. I also tried to remove/add new trigger. 
    Removal of file is then not possible:
    {
    "status": 400,
    "message": "ID súboru B87D32AD8EEDDBCB!sbf361b3c84144e87ad43679b40e7b174 is not valid.",
    "source": "api.connectorp.svc.ms"
    }
  • CU02090944-1 Profile Picture
    CU02090944-1 2 on at
    One Drive File ID has changed.
    I've got exactly the same issue and done a lot of research. This definitely is a Microsoft bug on personal OneDrive as after while it creates these corrupted IDs that will be rejected by Power Automate actions.
     
    All actions requiring the document ID are affected (GetFile content - Delete file - Get File Metadata etc...). When you create a new Personal One Drive, it will work for a short period of time, but after a while the ID format changes as described in the original post.  
     
    @Microsoft please fix that issue!
  • dev@iwasaki Profile Picture
    dev@iwasaki 3 on at
    One Drive File ID has changed.
    Were you able to resolve this issue? The exact same thing is happening again after the Microsoft-Crowdstrike outage. It seems that only newly created files in OneDrive are affected (proven after multiple testing).

    I'd appreciate it if anyone can provide any solutions on this. THANK YOUUUU!
  • vz333 Profile Picture
    vz333 14 on at
    Re: One Drive File ID has changed.

    Thanks for your help. For now, at least, I have replaced OneDrive with an alternative option and all is good with the flow.

  • vz333 Profile Picture
    vz333 14 on at
    Re: One Drive File ID has changed.

    Your file ID is much different than mine. Also, I did not use OneDrive for business. I am using OneDrive Personal as this an at home project. That may be where the difference lies.

  • SudeepGhatakNZ Profile Picture
    SudeepGhatakNZ 14,231 on at
    Re: One Drive File ID has changed.

    Just tested successfully at my end. I am out of ideas atm.

    SudeepGhatakNZ_0-1711079496470.png

     

     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,666

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,996

Leaderboard