403 Forbidden Request .GetACSAppOnlyContext(site.OriginalString, appID, clientSecret)
Getting 403 Forbidden request while using ClientContext created using above AuthenticationManager.GetACSAppOnlyContext(site.OriginalString, appID, clientSecret). need a way to connect to sharepoint using app registration client id and client secret. No proper documentation could be found for the same.
https://stackoverflow.com/questions/71079159/getacsapponlycontextsiteurl-clientid-clientsecret-return-403-forbidden-reque
You might has to check for DisableCustomAppAuthentication. You can use https://pnp.github.io/powershell/cmdlets/Set-PnPTenant.html to set these setting. Please be aware that change is not immediate active - according to others after 15min in average you can test again.