{"id":339,"date":"2011-08-04T22:00:27","date_gmt":"2011-08-04T21:00:27","guid":{"rendered":"http:\/\/emtunc.org\/blog\/?p=339"},"modified":"2013-06-15T13:12:22","modified_gmt":"2013-06-15T12:12:22","slug":"using-adsiedit-to-add-or-remove-e-mail-aliases-on-on-premises-active-directory-office-365","status":"publish","type":"post","link":"https:\/\/emtunc.org\/blog\/08\/2011\/using-adsiedit-to-add-or-remove-e-mail-aliases-on-on-premises-active-directory-office-365\/","title":{"rendered":"Using Adsiedit to Add or Remove E-mail Aliases on On-Premises Active Directory &#8211; Office 365"},"content":{"rendered":"<p>If you are synchronising your Office 365 account with your on-premises exchange\/Active Directory, you will know that you cannot edit exchange user properties using the Office 365 administrator portal.<br \/>\nIf you try, you will come across this error or a similar one:<\/p>\n<p><span style=\"color: #ff0000;\">The operation on mailbox &#8220;X&#8221; failed because it&#8217;s out of the current user&#8217;s write scope. The action &#8216;Set-Mailbox&#8217;, &#8216;EmailAddresses&#8217;, can&#8217;t be performed on the object &#8216;X&#8217; because the object is being synchronized from your on-premises organization. This action should be performed on the object in your on-premises organization.<\/span><\/p>\n<p>The reason for this is due to the fact that the AD and O365 are synchronised. Office 365 knows this and does not allow you to make any changes on O365 <strong>if<\/strong> there is a corresponding attribute that links up with your Active Directory.<\/p>\n<p><!--more--><\/p>\n<p>In this article, I will show you how to add e-mail aliases using the Active Directory Service Interfaces Editor (adsiedit).<\/p>\n<ol>\n<li>Go to Start &gt; Run and type <em>adsiedit.msc<\/em><\/li>\n<li>Now, find the unit where your AD user&#8217;s reside<\/li>\n<li>Right click the user you want to edit and click <em>Properties<\/em>.<\/li>\n<li>Find the variable <strong>proxyAddresses<\/strong> &#8211; this is the one you want to edit.<br \/>\nWhen you add new e-mail aliases, you want to make sure that your primary e-mail address will start with upper-case SMTP. Your aliases, aka, secondary addresses should be lower-case smtp.For example, I want my primary e-mail address to be firstnamelastname@example.com<br \/>\nIn the proxyAddresses attribute, I would put:<br \/>\nSMTP:firstnamelastname@example.com<br \/>\nAs my alias, I want firstname.lastname@example.com&#8230; to do this, I will use lower case smtp:<br \/>\nsmtp:firstname.lastname@example.com<\/li>\n<\/ol>\n<p>Apply the new settings and wait for your active directory to be synchronised with Office 365 (by default this happens every 3 hours but you can force this on your synchronisation server by following <a title=\"Force active directory and office 365 sync\" href=\"http:\/\/technet.microsoft.com\/en-us\/library\/cc742659.aspx\" target=\"_blank\">these <\/a>steps)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are synchronising your Office 365 account with your on-premises exchange\/Active Directory, you will know that you cannot edit exchange user properties using the Office 365 administrator portal. If you try, you will come across this error or a similar one: The operation on mailbox &#8220;X&#8221; failed because it&#8217;s out of the current user&#8217;s [&hellip;]<\/p>\n","protected":false},"author":32,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"footnotes":""},"categories":[1],"tags":[11,44,37],"class_list":["post-339","post","type-post","status-publish","format-standard","hentry","category-tech","tag-adsiedit","tag-exchange","tag-office-365"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1trTO-5t","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/posts\/339","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/users\/32"}],"replies":[{"embeddable":true,"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/comments?post=339"}],"version-history":[{"count":2,"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/posts\/339\/revisions"}],"predecessor-version":[{"id":914,"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/posts\/339\/revisions\/914"}],"wp:attachment":[{"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/media?parent=339"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/categories?post=339"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/emtunc.org\/blog\/wp-json\/wp\/v2\/tags?post=339"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}