It tells me Maya is not installed but it is

I can’t get Omniverse connected to Maya as it tells me it is not installed, but it is. When i have Maya running, it tells me, I have to close it first and afterwards it tells me Maya isn’t installed. How to fix this?