I've gotten to the point where I can add individual users to Veeam EM Roles and then they can login, but not if I just specify the Role they've been assigned in Azure AD Enterprise Applications.
My App Registration, Manifest includes
Code: Select all
"appRoles": [
{
"allowedMemberTypes": [
"User"
],
"description": "Portal Administrator",
"displayName": "Portal Administrator",
"id": "c8332f62-684a-4a6f-96f6-0a9dc7dc402b",
"isEnabled": true,
"lang": null,
"origin": "Application",
"value": "PortalAdministrator"
},
my Svc.VeeamBES.log includes:
Code: Select all
[06.03.2020 12:16:50] <48> Info [Web] Opening session with id [03cb211e-c3be-4b84-xxxx-xxxxxxxxxxxx]
[06.03.2020 12:16:50] <48> Info Opening session with id [03cb211e-c3be-4b84-xxxx-68550b99039d]
[06.03.2020 12:16:50] <48> Info Application url: https://veeam.{fqdn}/
[06.03.2020 12:16:50] <48> Info [SAML] EntityId: https://veeam.{fqdn}/Saml2, Return url: https://veeam.{fqdn}/
[06.03.2020 12:16:50] <48> Info Validating SAML token
[06.03.2020 12:16:50] <48> Info Token is valid
[06.03.2020 12:16:50] <48> Info Logon as new user {my-email}. Session [s22]
[06.03.2020 12:16:50] <48> Info No associated user accounts found. User: {my-email}
[06.03.2020 12:16:50] <48> Error User '{my-email}' does not have any roles assigned (System.UnauthorizedAccessException)
[06.03.2020 12:16:50] <48> Error at Veeam.Backup.Enterprise.Core.CAuthorizationManager.CreateUserContextForExternalSession(CSecurityConfig securityHive, CExternalUserInfo externalUser)
[06.03.2020 12:16:50] <48> Error at Veeam.Backup.EnterpriseService.CExternalClientSession..ctor(Guid sessionId, CSessionName sessionName, CEnterpriseRegistryOptions options, CEnterpriseSvcManagers svcMngrs, CExternalUserInfo externalUserInfo)
[06.03.2020 12:16:50] <48> Error at Veeam.Backup.EnterpriseServices.CReportingService.OpenExternalSession(CExternalUserInfo userInfo, CSessionReConnectInfo sessionInfo)
[06.03.2020 12:16:50] <48> Error Error opening session. SessionId: [03cb211e-c3be-4b84-xxxx-xxxxxxxxxxxx]
[06.03.2020 12:16:50] <48> Error User '{my-email}' does not have any roles assigned (System.UnauthorizedAccessException)
[06.03.2020 12:16:50] <48> Error at Veeam.Backup.Enterprise.Core.CAuthorizationManager.CreateUserContextForExternalSession(CSecurityConfig securityHive, CExternalUserInfo externalUser)
[06.03.2020 12:16:50] <48> Error at Veeam.Backup.EnterpriseService.CExternalClientSession..ctor(Guid sessionId, CSessionName sessionName, CEnterpriseRegistryOptions options, CEnterpriseSvcManagers svcMngrs, CExternalUserInfo externalUserInfo)
[06.03.2020 12:16:50] <48> Error at Veeam.Backup.EnterpriseServices.CReportingService.OpenExternalSession(CExternalUserInfo userInfo, CSessionReConnectInfo sessionInfo)
[06.03.2020 12:16:50] <48> Error at Veeam.Backup.EnterpriseServices.CEnterpriseWebService.OpenExternalSession(CExternalUserInfo userInfo, CSessionReConnectInfo sessionInfo)