Send the following on WhatsApp
Continue to ChatMicrosoft 365: How to retrieve administrators of all site collections in SharePoint Framework (SPFx) component using sharepoint REST API https://knowledge-junction.in/2023/11/01/microsoft-365-how-to-retrieve-administrators-of-all-site-collections-in-sharepoint-framework-spfx-component-using-sharepoint-rest-api/