I am listing all site collections of the company by calling:
Among the returned site collections, some are deleted. When navigating to them in the browser, there shows 404 File not found. And they cannot be seen in both active and deleted site in the new SharePoint admin center.
Is there any way to exclude deleted site collections in the API call? Or is there any way to search for a list of deleted site collections?
Thanks in advance.