I was trying to connect to SharePoint online via Connect-SPOService where I do not have a username/password and have only clientId and clientSecret. While surfing online I get https://sharepoint.stackexchange.com/questions/258597/connect-sposervice-using-app-id-and-app-secret this link and it says you can do Connect-SPOService equivalent via Connect-PnPOnline. I have tried to connect Connect-PnPOnline like
Connect-PnPOnline -Url https://org-admin.sharepoint.com -ClientId 7b2cd291-87e9-49fc-888e-xxxxxxxxxxxx -ClientSecret xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
And I can successfully connect. But I need Get-SPOTenant and Get-SPOTenantSyncClientRestriction details via Connect-PnPOnline or Microsoft graph API. I am new to the Microsoft ecosystem and not sure how to get it.