Thank you for your answer. But `get_sharepoint_site `still does not work with `scopes=".default"`, the error now is "Error: Site ... not found". I passed the same arguments in `sharepoint_site` and the deprecated command works.
I ran list_sharepoint_sites(tenant = "...", scopes = ".default") and it listed the sharepoint sites that I created but not the one I have access to that I required.
I ran
list_sharepoint_sites(tenant = "...", scopes = ".default")
and it listed the sharepoint sites that I created but not the one I have access to that I required.Originally posted by @jwolfc in https://github.com/Azure/Microsoft365R/issues/155#issuecomment-1564554046