Forum Discussion
John Wynne
Feb 21, 2018Silver Contributor
Office 365 Groups naming policy reaches public preview
https://support.office.com/en-us/article/office-365-groups-naming-policy-6ceca4d3-cad1-4532-9f0f-d469dfbbb552
Mattias_Lindgren
Apr 20, 2018Brass Contributor
Hi!
We would like to implement a naming policy that adds custom attribute number 14 from Azure AD as a prefix. Is that possible? What is the syntax for fetching that custom attribute?
Would you say it is safe to add the naming policy in a production environment even though it is still in Public Beta and not GA?
TonyRedmond
Apr 20, 2018MVP
AFAIK, the Azure AD naming policy doesn't take a custom attribute into account when it constructs names. This would be easy to do with PowerShell by updating the DisplayName attribute with whatever's in CustomAttribute14 after a group exists.
- TonyRedmondApr 20, 2018MVP
And it is safe to use the policy. All it's doing is making sure that the DisplayName attribute is correctly populated. You can do that yourself or let the policy do it.