def update_workspace_sql_aad_admin(instance, login_name=None, object_id=None):
    """
    Update a Workspace SQL AD admin.
    """
    instance.login = login_name or instance.login
    instance.sid = object_id or instance.sid
    return instance