This function does more than just filling up the tenant admin rest context