VMO61008: You do not have sufficient permissions to complete the operation. Why now?

I have a new test system (Corporate 2021 R2).

And I’m just testing one of my plugins. In the Management Client I now get this error message. Under Corporate 2020 R3 this plugin runs without any problems.

The error occurs when this line of code is called:

ConfigurationItem configItem = _clientApi.GetItem(folderPath);

The folderPath is “/AlarmDefinitionFolder”.

I can’t find anything in the release letter that indicates any changes in this area.

Greetings Andreas

I found the solution to the problem in the “ConfigApiClient” sample.

In order to get to the data of the Analytic Events I had to rewrite my ConfigApi accordingly. Logging in internally to the server has changed in 2021 R2.