Skip to content

Commit df9b3e9

Browse files
authored
Update powerapps-powershell.md
Introducing documentation for a new capability (manage share with everyone).
1 parent 19bcfa1 commit df9b3e9

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

power-platform/admin/powerapps-powershell.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,25 @@ Reset-AdminPowerAppSharepointFormEnvironment
343343

344344
This resets the default environment as the designated environment to save SharePoint custom forms.
345345

346+
#### Display tenant setting for ability to share apps with ‘Everyone’
347+
348+
```powershell
349+
$settings = Get-TenantSettings
350+
$settings.PowerPlatform.PowerApps.disableShareWithEveryone
351+
```
352+
353+
This setting controls whether users with the Environment Maker security role can share canvas apps with ‘[Everyone in an organization](https://docs.microsoft.com/powerapps/maker/canvas-apps/share-app)’. When the setting is set to ‘false’ only users with an admin role (Dynamics 365 admin, Power Platform Service admin, Azure AD tenant admin) can share apps with ‘Everyone in an organization’.
354+
355+
Note, regardless of this tenant settings value makers with the sharing privilege can share apps with security groups of any size. This control only determines whether the ‘Everyone’ shorthand may be used when sharing.
356+
357+
#### Change tenant setting for ability to share apps with ‘Everyone’
358+
359+
```powershell
360+
$settings = Get-TenantSettings
361+
$settings.powerPlatform.powerApps.disableShareWithEveryone = $True
362+
Set-TenantSettings -RequestBody $settings
363+
```
364+
346365
### Power Automate commands
347366

348367
Use these commands to view and modify data related to Power Automate.
@@ -471,4 +490,4 @@ If you have any comments, suggestions, or questions, post them on the [Administe
471490
[Microsoft.PowerApps.Administration.PowerShell](/powershell/module/microsoft.powerapps.administration.powershell)
472491

473492

474-
[!INCLUDE[footer-include](../includes/footer-banner.md)]
493+
[!INCLUDE[footer-include](../includes/footer-banner.md)]

0 commit comments

Comments
 (0)