Your use of Visma Connect can require some changes.
When the error invalid_tenant occurs, your admin needs to provide your Visma.net user with additional privileges in the Admin menu from https://home.visma.com:
The error code invalid_tenant can be replaced in future versions by either itgenoda822 and/or itgenvnt059 to ease resolution.
The accompanying message text is:
The application user or subscription is not entititled to use the API.
The remote server returned an error: (400) Bad Request.
Please ensure the license allows API access and ensure that the application user has the necessary roles to use the API.