
Hi @Quanta Dialysis Technologies Limited ,
Maybe the client secret expired, so you got this error. By default, client secrets for SharePoint Add-ins that are registered by using the AppRegNew.aspx page expire after one year.
You could renew the client secret: https://medium.com/@cecildt/renewing-sharepoint-online-provider-add-ins-client-secret-ba2828a49e7
Or register a new app to make it work.
Update:
This could be related with the TLS 1.2 enforcement that's being rolled out. Read this article for tetails: https://techcommunity.microsoft.com/t5/microsoft-sharepoint-blog/provider-hosted-app-pha-application-errors-tls-errors-and-401/ba-p/2273611
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.