SOLVED

A parameter cannot be found - ExternalInOutlook Powershell

Copper Contributor

I am trying to enable the ExternalInOutlook feature via Powershell for one of our client's tenant, but I am getting the following error when I run

 

 

Set-ExternalInOutlook -Enabled $true
A parameter cannot be found that matches parameter name 'Enabled'

 

 

I've already made sure the module is installed/updated. After months of dealing with Microsoft support, they were unable to help me. I can successfully run the "Get-ExternalInOutlook" command and get the current status, which shows "false" but for whatever reason it won't let me set it to "true" with the Set command. It seems clear that the issue lies with the tenant itself because this command works just fine on another client tenant.

 

Any ideas?

3 Replies
best response confirmed by adailey (Copper Contributor)
Solution

@adailey Do you have enough permissions? The Set-ExternalInOutlook cmdlet requires one of these roles:

 

Get-ManagementRole -Cmdlet Set-ExternalInOutlook

Name RoleType
---- --------
O365SupportViewConfig O365SupportViewConfig
Organization Configuration OrganizationConfiguration
View-Only Configuration ViewOnlyConfiguration

 

The Enabled parameter requires Organization Configuration:

 

Get-ManagementRole -Cmdlet Set-ExternalInOutlook -CmdletParameters Enabled

 

Name RoleType
---- --------
Organization Configuration OrganizationConfiguration



Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.

If one of the posts was helpful in other ways, please consider giving it a Like.

 

 

@Harm_Veenstra Yes, I have been trying with two different global administrators, both of which are assigned in the Organization Management role group, but I am now realizing that this role group does not have the organization configuration role assigned. That is strange since it should be there by default. After adding it, I am now able to run the command successfully. Thank you!

@adailey I did run into that myself in the past, too. Strange... Glad to hear that it works!


Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.

If one of the posts was helpful in other ways, please consider giving it a Like.

1 best response

Accepted Solutions
best response confirmed by adailey (Copper Contributor)
Solution

@adailey Do you have enough permissions? The Set-ExternalInOutlook cmdlet requires one of these roles:

 

Get-ManagementRole -Cmdlet Set-ExternalInOutlook

Name RoleType
---- --------
O365SupportViewConfig O365SupportViewConfig
Organization Configuration OrganizationConfiguration
View-Only Configuration ViewOnlyConfiguration

 

The Enabled parameter requires Organization Configuration:

 

Get-ManagementRole -Cmdlet Set-ExternalInOutlook -CmdletParameters Enabled

 

Name RoleType
---- --------
Organization Configuration OrganizationConfiguration



Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.

If one of the posts was helpful in other ways, please consider giving it a Like.

 

 

View solution in original post