Does this happen for other applications or only those two?
The error message seems to be saying that SASLogon can't pull this information, so I would expect this to fail for every service.
Typically this "application is not authorized..." message occurs when the redirect URI (e.g. hostname:7443/, hostname:8343/SASStudio) does not exist in Metadata.
In SAS Management Console > Application Management > Configuration Manager > SAS Application Infrastructure, confirm in the properties for the DP-SAS-Environment-Manager and SAS Studio Mid-Tier properties the Internal and External Connection tabs have the correct information.
If those are correct (or the failure is for all applications), you might need to rebuild / redeploy your web applications.
--
Greg Wootton | Principal Systems Technical Support Engineer