Comments on: Separating users in Office 365 using Address Book Policies https://practical365.com/separating-users-in-office-365-using-address-book-policies/ Practical Office 365 News, Tips, and Tutorials Fri, 26 Jul 2024 05:14:51 +0000 hourly 1 https://wordpress.org/?v=6.6.1 By: <div class="apbct-real-user-wrapper"> <div class="apbct-real-user-author-name">Sean McAvinue</div> <div class="apbct-real-user-badge" onmouseover=" let popup = document.getElementById('apbct_trp_comment_id_297288'); popup.style.display = 'inline-flex'; "> <div class="apbct-real-user-popup" id="apbct_trp_comment_id_297288"> <div class="apbct-real-user-title"> <p class="apbct-real-user-popup-header">The Real Person!</p> <p class="apbct-real-user-popup-text">Author <b>Sean McAvinue</b> acts as a real person and passed all tests against spambots. Anti-Spam by CleanTalk.</p> </div> </div> </div> </div> https://practical365.com/separating-users-in-office-365-using-address-book-policies/#comment-297288 Fri, 26 Jul 2024 05:14:51 +0000 https://practical365.com/?p=54710#comment-297288 In reply to Rasha.

Hi Rasha / Stego,
The parameter works fine for me in the Exchange online management module 3.2.0

Do you have the address lists role assigned as that is required for the steps in this article

]]>
By: Rasha https://practical365.com/separating-users-in-office-365-using-address-book-policies/#comment-297265 Thu, 25 Jul 2024 18:48:28 +0000 https://practical365.com/?p=54710#comment-297265 In reply to Stego.

I have the same issue where there -AddressBookPolicyRoutingEnabled is not available.
I hope someone can reply to us.

]]>
By: Stego https://practical365.com/separating-users-in-office-365-using-address-book-policies/#comment-296102 Thu, 27 Jun 2024 12:57:44 +0000 https://practical365.com/?p=54710#comment-296102 Hi Sean,

Thank you for the article. It is the most clear and concise that I have come across. I have followed all the steps but one seems to be failing and I would appreciate some guidance.

This is the error message when running Set-TransportConfig -AddressBookPolicyRoutingEnabled $true

Set-TransportConfig -AddressBookPolicyRoutingEnabled $true
Set-TransportConfig : A parameter cannot be found that matches parameter name ‘AddressBookPolicyRoutingEnabled’.
At line:1 char:21
+ Set-TransportConfig -AddressBookPolicyRoutingEnabled $true
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Set-TransportConfig], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Set-TransportConfig

]]>
By: AusSupport https://practical365.com/separating-users-in-office-365-using-address-book-policies/#comment-293327 Wed, 01 May 2024 23:59:27 +0000 https://practical365.com/?p=54710#comment-293327 How do you add ABP to distribution group?

]]>
By: PhilP https://practical365.com/separating-users-in-office-365-using-address-book-policies/#comment-252826 Tue, 31 Jan 2023 13:14:33 +0000 https://practical365.com/?p=54710#comment-252826 Hi Sean,

This is very useful, thank you. We’ve just ran through this exact scenario as our organisation has split into two companies but currently still share the same M365 tenant. All is working well, however, users can no longer see ‘Distribution Groups’ or ‘Contacts’. How do we go about creating two additional address lists (ie: New-AddressList) for the groups and contacts and adding them to the relevant Address Book Policy.
Also, how do we filter these new Address Lists so CompanyA only sees their groups and CompanyB just sees theirs? Groups and Contacts don’t appear to have the ‘Company’ attribute so i guess we’d need to use the UPN or something.

]]>
By: Murat https://practical365.com/separating-users-in-office-365-using-address-book-policies/#comment-251404 Tue, 17 Jan 2023 08:59:28 +0000 https://practical365.com/?p=54710#comment-251404 I tried this process on on-prem exchange 2019. No problem on OWA side but I am getting”cannot be matched to a name in the address list” error while defining the mail address in outlook

]]>
By: olivia https://practical365.com/separating-users-in-office-365-using-address-book-policies/#comment-250633 Tue, 10 Jan 2023 15:45:37 +0000 https://practical365.com/?p=54710#comment-250633 Hi , can someone tell me how to assign addressbookpolicy to recipienttype -eq mailcontact

]]>
By: ray https://practical365.com/separating-users-in-office-365-using-address-book-policies/#comment-249352 Thu, 29 Dec 2022 20:47:50 +0000 https://practical365.com/?p=54710#comment-249352 In reply to paul.

Hi Paul, I am new to OnlineExchange but you might want to look at this line. In theory, you might want to change the -Filter on Get-Recipient to include sharedmailbox.

##Assign ABP to users
Get-Recipient -Filter ‘(Company -eq “Contoso”) -and (recipienttypedetails -eq “usermailbox”)’ | Set-Mailbox -AddressBookPolicy Contoso

And change

(recipienttypedetails -eq “usermailbox”)

TO

( (recipienttypedetails -eq “usermailbox”) -or (recipienttypedetails -eq “sharedmailbox”) )

https://learn.microsoft.com/en-us/exchange/recipients-in-exchange-online/recipients-in-exchange-online

]]>
By: Ray https://practical365.com/separating-users-in-office-365-using-address-book-policies/#comment-249350 Thu, 29 Dec 2022 20:40:47 +0000 https://practical365.com/?p=54710#comment-249350 Thank you for the well documented instructions. I ran into the issue were I could not create a Global Address List. I followed the steps on the microsoft forum. New-GlobalAddressList not a cmd in Connect-ExchangeOnline: https://learn.microsoft.com/en-us/answers/questions/771877/new-globaladdresslist-not-a-cmd-in-connect-exchang.html.

]]>
By: paul https://practical365.com/separating-users-in-office-365-using-address-book-policies/#comment-248582 Sun, 18 Dec 2022 20:56:00 +0000 https://practical365.com/?p=54710#comment-248582 How do you add distribution lists? They don’t seem to have the Company attribute used in your example.

]]>