applicationid for scopes is needed