We have a model driven app that is being developed, and published from a development environment to a testing environment using Power Platform Pipelines. Today I was trying to share the app with a bunch of testers, but when I open the "Share" pane, it shows "Request failed with status code 400" error banner. No existing users or groups are shown, and even though I can search for users to share with, I can't select any Roles to assign to them.
I am fairly sure this used to work a while back as I have granted some users access to this app before. Another (Canvas) app sharing works normally in the same environment.
I am a System Administrator in this environment. I also have a custom role assigned to users of that app.
What can be wrong here, where do I start looking? The error is once again quite unhelpful...