Hi,
I'm making some tests in a PowerApps environment with guest users. Everything shared correctly, but I was wondering how a guest user can manage their Power Platform connections? Take for instance that when a guest user access to the app for the first time it will require to accept the connections (and log in if necesary), what if the user want to switch the account of any of those connections?
I am talking about this area:
If this same user has access to other tenant (as a guest user) how is it possible to manage these connections? (Also, it doesn't let me change environment in Power Apps as there are no other environment than the default one of the user's organization)
Solved! Go to Solution.
I haven't found a method to accomplish this via UI, however I did find a method using PowerShell.
Open Powershell and run this command to install the PowerApps Admin module
Install-Module -Name Microsoft.PowerApps.Administration.PowerShell
Then run this command to list all connections for a user (enter their email address).
Get-AdminPowerAppConnection -CreatedBy "email@address.com"
Find the connection you want to remove, then run this command. It will ask for three parameters, which you can copy/paste based on the connection you located above:
Remove-AdminPowerAppConnection
Any updates on this? I am running into the same issue.
I didn't find a way to do this, I hope someone can throw some light on this issue.
I haven't found a method to accomplish this via UI, however I did find a method using PowerShell.
Open Powershell and run this command to install the PowerApps Admin module
Install-Module -Name Microsoft.PowerApps.Administration.PowerShell
Then run this command to list all connections for a user (enter their email address).
Get-AdminPowerAppConnection -CreatedBy "email@address.com"
Find the connection you want to remove, then run this command. It will ask for three parameters, which you can copy/paste based on the connection you located above:
Remove-AdminPowerAppConnection
I should mention, my method above is only to Remove an existing connection (my guest users entered an incorrect value when setting up the connection).
PS Module doesn't appear to have a method to Create a new connection using Powershell. But, you could at least remove their existing connection, then it will prompt them to create a new connection on next app launch (may need to refresh once or twice)
This is pretty interesting, I forgot completely to check the possibility to make this using PowerShell.
I put the articles link for someone that would like to check about how to use those:
Remove-AdminPowerAppConnection
User | Count |
---|---|
10 | |
4 | |
3 | |
2 | |
1 |
User | Count |
---|---|
14 | |
8 | |
7 | |
3 | |
2 |