A developer reported an issue connecting to Apprenda using the Visual Studio Extension:
“ ERROR: Unable to establish a session to the cloud 'Cloud' as the user. Please ensure that the platform you are connecting to is running Apprenda 4.0 or greater. ”
The user checked the Visual Studio Extension logs located at: "%appdata%\Apprenda\Apprenda VisualStudio Extension" and found the underlying issue:
08:58:01.248 ERROR [1] Apprenda.ApplicationManagement.VSExtension.SessionManager - An error occurred while attempting to connect to Cloud
Apprenda.SaaSGrid.MissingEntitlementException: The user does not have access to the application 'developer'.
at Apprenda.SaaSGrid.API.Remote.RemoteAuthenticationProvider.Authenticate(String username, String password, SessionRebinder rebinder, Func2 tenantResolver)
2 tenantResolver)
at Apprenda.SaaSGrid.Credentials.Authenticate(SessionRebinder rebinder, Func
at Apprenda.SaaSGrid.Session.EstablishSession(Credentials credentials, Func2 tenantResolver)
2 tenantResolver)
at Apprenda.SaaSGrid.Session.EstablishSession(Credentials credentials)
at Apprenda.ApplicationManagement.VSExtension.SessionManager.EstablishSession(CloudDefinition cloud, User user)
at Apprenda.ApplicationManagement.VSExtension.SessionManager.Connect(CloudDefinition cloud, User user)
10:26:58.362 ERROR [1] Apprenda.ApplicationManagement.VSExtension.SessionManager - An error occurred while attempting to connect to Cloud
Apprenda.SaaSGrid.MissingEntitlementException: The user does not have access to the application 'developer'.
at Apprenda.SaaSGrid.API.Remote.RemoteAuthenticationProvider.Authenticate(String username, String password, SessionRebinder rebinder, Func
at Apprenda.SaaSGrid.Credentials.Authenticate(SessionRebinder rebinder, Func2 tenantResolver)
2 tenantResolver)
at Apprenda.SaaSGrid.Session.EstablishSession(Credentials credentials, Func
at Apprenda.SaaSGrid.Session.EstablishSession(Credentials credentials)
at Apprenda.ApplicationManagement.VSExtension.SessionManager.EstablishSession(CloudDefinition cloud, User user)
at Apprenda.ApplicationManagement.VSExtension.SessionManager.Connect(CloudDefinition cloud, User user)
Resolution
The issue was due to the user not having access to the Developer Portal. Follow the steps in the following article to add additional developers to your team.
https://support.apprenda.com/hc/en-us/articles/202927470-Add-a-New-Developer-to-my-Team
Comments