This post is to help users who migrate from "Get rows" option to "List rows option" and find that dynamic file id no longer works.
Here is that solution for that , I was using share point to upload excel files as attachments and retrive the excel files and then create the excel file in one drive.
Since the "Get rows" function was removed in latest version of the flow , All I have left was with "List rows from table in Excel option"
After I have started using List rows

I observed that the FileID from One Drive no longer works. I can't send a dynamic file name to the List rows. I was troubleshooting using "Peekcode option" in the flow and have observed the the "File" section its "path" in peekcode
"path": "/drives/@{encodeURIComponent('b!-N7nRK_cl06qffUTjNL1jTYHhozQR1xGtZ9pYLdy0ssHQab1TcoWTaTcrIovVzN5')}/files/@{encodeURIComponent('012INQHUEX4GB5GGMEEZEY6EBSNPOQVBFT')}/tables/@{encodeURIComponent('Table')}/items",
The FileID from from one drive is combination of Documentlibraray.File , The List row File parameter only accepts the File token , all I have to do it was to create a variable which looks like this
last(split(body('Create_file')?['Id'],'.') so that the File ID will have only "012INQHUEX4GB5GGMEEZEY6EBSNPOQVBFT"