Do you modified the Mapping file that generated by .\PublicFolderToMailboxMapGenerator.ps1?
Here are the result from my lab:
I would suggest you provide information about command below to us:
Here is also a blog about migrating public folder step by step, I think it may be useful to you: Exchange 2016: Public Folder migration made easy
Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.