Share via

External Email Tagging in Exchange Online

IAM Admin 21 Reputation points
2023-02-09T15:30:41.9533333+00:00
Hello,

I'm trying to enable External Email Tagging in Exchange Online, with:

Set-ExternalInOutlook –Enabled $true
But as a normal admin I would like to check settings before changing them.


What I did:
1. Import-Module ExchangeOnlineManagement
2. Connect-ExchangeOnline  
3. Provided login and password
4. get-ExternalInOutlook 
5. Gro this error

get-ExternalInOutlook
get-ExternalInOutlook : The term 'get-ExternalInOutlook' is not recognized as the name of a cmdlet, function, script file, or operable program. Check t
he spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ get-ExternalInOutlook
+ ~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (get-ExternalInOutlook:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
Exchange Online
Exchange Online

A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.

Windows for business | Windows Server | User experience | PowerShell

2 answers

Sort by: Most helpful
  1. IAM Admin 21 Reputation points
    2023-02-09T16:12:23.92+00:00

    Looks like I have missing powershell modules

    Get-ManagementRole : The term 'Get-ManagementRole' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spe

    lling of the name, or if a path was included, verify that the path is correct and try again.

    Was this answer helpful?


  2. Andy David - MVP 160.3K Reputation points MVP Volunteer Moderator
    2023-02-09T15:36:42.0966667+00:00

    You really should be an org mgmt admin role user to set this.

    You can view with org viewer

    $Perms = Get-ManagementRole -Cmdlet Get-ExternalInOutlook
    
    $Perms | foreach {Get-ManagementRoleAssignment -Role $_.Name -Delegating $false | Format-Table -Auto      Role,RoleAssigneeType,RoleAssigneeName}
    

    Role RoleAssigneeType RoleAssigneeName


    Organization Configuration RoleGroup Organization Management

    Role RoleAssigneeType RoleAssigneeName


    View-Only Configuration RoleGroup Hygiene Management

    View-Only Configuration RoleGroup Compliance Management

    View-Only Configuration RoleGroup Organization Management

    View-Only Configuration RoleGroup View-Only Organization Management

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.