Hi
You can check out this blog. Here you can find all the details with Migration steps and Prerequisites for Exchange Online. I hope this will be helpful.
https://techgenix.com/migrate-public-folders-from-exchange-to-microsoft-365/
Best Regards,
Amit
If the answer is helpful, please click "Accept Answer" and upvote it.