Hi @Guy Martinello
Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.
You seem to be able to log in but not provide the environment, and this is most likely due to a licensing issue. First, make sure your account has the proper permissions to access your environment. If you are using a regular user account, ensure that the environment you want to access has environment administrator permissions. Using a service account (such as a service principal) also requires environment administrator permission. You can go to the Power Platform Admin Center and see if you are registered as an admin of a community. If not, ask your admin for necessary permission.
Also, make sure your witness is actually in your surroundings. Go to the Power Platform Admin Center and look under "Environments" to see if any environments are listed. If there isn’t one, you have to create one.
If there is a region, try to rerun the command without using any filters and see if you can find any regions listed. You can do this by running:
$environments = Get-AdminPowerAppEnvironment
$environments | Format-Table DisplayName, EnvironmentName, EnvironmentId
This gives you a list of all the environments you can access. If nothing shows up, you can also check for any error messages by running the command and typing $Error[0] to see if there is a specific problem.
If you have any further queries, do let us know
---------------------------------------------------------------------------------------------------------
If the answer is helpful, please click "Accept Answer" and "Upvote it"