My application was working without any problems, when suddenly the app had a white screen and printing the following error on the console:
AUTHMSAL: Event: adal:tokenRenewFailure, code: invalid_resource|AADSTS500011: The resource principal named https://... was not found in the tenant named <Directory ID>. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You might have sent your authentication request to the wrong tenant.
Trace ID: <Trace ID>
Correlation ID: <Correlation ID>
Timestamp: 2021-03-01 15:38:07Z, resource: https://..., action: resourceDisabled