Get file or folder List: 'Advanced search' is not supported when using personal Microsoft accounts. Use ‘Simple search’ instead

I am trying to search for files in a specific SharePoint folder by enabling the advanced option and selecting “false” for “include subfolders,” but I encounter an error. I am using my Microsoft personal account.
What configurations do I need to make to use advanced search successfully?

Hi @lr101

Check below thread

Regards,