[RJA-1789][fix]: allow user to create instances only if at least one environment is accessible
Merge pull request #810 from ddurnev/agents

[RJA-1789][fix]: allow user to create instances only if at least one environment is accessible