Is that a typo?
You have two dashes in that command instead of one
--SendFromAliasEnabled $true
Note if the PS command isnt working, you can set via the GUI:
https://admin.exchange.microsoft.com/#/settings
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I need to enable users to send emails from an alias in Microsoft 365. We have an online only account. We have acquired companies and they have their branding, and our branding. I don't want each user to have several accounts, so I want them to receive and send from an alias. They can receive from the alias fine.
using Powershell 5, running as admin,
both using global admin credentials through the dialog that appears.
and https://www.powershellgallery.com/packages/ExchangeOnlineManagement/2.0.6-Preview6. I also tried with 2.0.5.
When I try to set the option for sending by alias, I need an odd message
Set-organizationconfig --SendFromAliasEnabled $true
the result is
A parameter cannot be found that matches parameter name 'SendFromAliasEnabled'.
I can run Get-organizationconfig without error.
any ideas
Is that a typo?
You have two dashes in that command instead of one
--SendFromAliasEnabled $true
Note if the PS command isnt working, you can set via the GUI:
https://admin.exchange.microsoft.com/#/settings
If anyone has the problem I had where you cannot turn on the feature, this was the solution as provided by MS. I have no idea why the role was not there. Thank you MS Support!
The Escalation Engineer suggests that you have removed several roles from the Organization Management role group.
Among those removed is the role "OrganizationConfiguration" which is needed for the desired operation.
Kindly re-add the OrganizationConfiguration role to the "Organization Management" role group.
Kindly navigate to the Classic Exchange admin center to make these changes:
Classic Exchange admin center > Permission > admin roles > Organization Management > Add the role(s)
Hello,
My post had the extra hyphen, but was correct for the command. What is also interesting is that that option in mail flow rules is disabled.
Again, I am using a global admin account. Any ideas why the top two boxes of mailflow are disabled and not selectable?
This is M365 Business Premium
PS C:\temp> Set-OrganizationConfig -AllowPlusAddressInRecipients $true
A parameter cannot be found that matches parameter name 'AllowPlusAddressInRecipients'.
+ CategoryInfo : InvalidArgument: (:) [Set-OrganizationConfig], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Set-OrganizationConfig
+ PSComputerName : outlook.office365.com
PS C:\temp> Set-OrganizationConfig -SendFromAliasEnabled $True
A parameter cannot be found that matches parameter name 'SendFromAliasEnabled'.
+ CategoryInfo : InvalidArgument: (:) [Set-OrganizationConfig], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Set-OrganizationConfig
+ PSComputerName : outlook.office365.com
hmmm
If you add yourself to the Exchange Administrator Azure role, does it work then?
I added exchange admin, even though GA should cover it. It did not work either, with both roles on the account.
None of the Set-OrganizationConfigs work at all. Do I just use Connect-ExchangeOnline to enable them?