public async Task <IActionResult> Add([HttpTrigger(AuthorizationLevel.Anonymous, "post", Route = "access")] string userJson) //AuthJanitorAuthorizedUser newAuthorizedUserRole)
        {
            if (!_identityService.CurrentUserHasRole(AuthJanitorRoles.GlobalAdmin))
            {
                return(new UnauthorizedResult());
            }

            var newAuthorizedUserRole = JsonConvert.DeserializeObject <AuthJanitorAuthorizedUser>(userJson);

            return(await _managementService.AddAuthorizedUser(newAuthorizedUserRole.UPN, newAuthorizedUserRole.RoleValue));
        }