How to update mailbox properties of exchange online by scripting? - exchange-server

How to use script/power shell to update these properties of Office 365 mailbox, such as street, city, state, zipcode, workphone, office, webpage etc.?

You can use Set-User to do that see https://technet.microsoft.com/en-us/library/aa998221%28v=exchg.150%29.aspx and https://technet.microsoft.com/en-us/library/jj984289%28v=exchg.150%29.aspx
Cheers
Glen

Related

Correlating meetings in Outlook calendar on different computers

If you send a meeting request to someone using Outlook, no user or custom MAPI properties will go into the meeting created the attendee's Outlook calendar.
I am looking for a way to correlate meetings that belong together across multiple attendee's computer.
I have found that the "Conversation ID" or the first 44 characters of the "Conversation Index" property are the same across all attendees computer, ONLY if all the attendees are on the same MS Exchange server. This does not work for different exchange servers or local computer only calendars.
Is there any reliable way that I can do this?
Appointment id (AppointmentItem.GlobalAppointmentID) will be the same for all instances of the appointment.

How to have two separated contacts with same email address?

Using Exchange 2013 and Outlook 2013, I need to have two separated contacts with same email address. What I've seen is once I create a contact with an email address, for the second contact (even though I choose to create a new contact instead of update the existing one) Outlook merges two contacts details.
Now the question is, is this doable at all? Can I have two or more contacts sharing same email address but having isolated details?
In fact, I'm using ews managed API to do this programmatically, but that doesn't matter because same thing happens by using Outlook directly.
Update: Looks like Outlook 2013 by default links contacts with the same email address. And according to this post Office Community the only way to stop that is changing a registry key!
Now I wonder if it's possible to stop this from Exchange side.
You can turn off Duplicated detection in Outlook in the Option-Contacts, in EWS it shouldn't be doing any duplicate detection, if the contact is in the GAL then it will resolve it to the GAL address. Generally in this case your creating a OneOff Email address for a contact you can ensure that unique by using a different display-name when your create the contact. eg
Contact contact1 = new Contact(service);
contact1.GivenName = "Fred";
contact1.Surname = "Smith";
contact1.EmailAddresses[EmailAddressKey.EmailAddress1] = new EmailAddress("fred smith1", "fsmith#domain.com");
contact1.Save();
Cheers
Glen

Exchange: Update GAL automatically

I'm working in a small app that needs to integrate contacts into my company Exchange server. I managed to "push" all this contacts into a user contacts list, but I'd need to share this contacts amongst everybody.
My question is: is there a way to automatically add a contact to the GAL, when this contact is added to the user contacts list?
This way, I would push contacts into a "user contact list" (let's say contacts#domain.com), and they would somehow be updated automatically into the GAL (if this makes sense).
So whenever a contact is added into "contacts#domain.com", this will be pushed into the GAL as well.
Unfortunately, there isn't a way to update the GAL trough Exchange Web Services, and after some research I was only able to push contacts into a user contact list, this is the reason why I'm looking for a solution like this.
Thanks for your time
My question is: is there a way to automatically add a contact to the GAL, when this contact is added to the user contacts list?
No when a user adds a contact to their contacts folder in their Mailbox this just creates an Exchange Store item for that user. A GAL contact is an Mail-enabled Active directory object that must be created using the Exchange Admin Console or Exchange management Shell.
You could create a client application that uses EWS to subscribe to a user contact folder (either push,pull or streaming) and then process any new entries and then create the Contact using the EMS new-mailcontact cmdlet https://technet.microsoft.com/en-us/library/bb124519%28v=exchg.150%29.aspx .(you need to build your own logic to avoid duplication etc).
Cheers
Glen

microsoft outlook how to send an email from an email group which I belong to?

I belong to a email group in the company I work for, such as for example, researchteam#company.com. My personal email is raulmercado#company.com. I want to send emails from researchteam#company.com instead of raulmercado#company.com. I'm using Microsoft Outlook and Exchange as a Email Server.
Thanks for your help!
If you using Outlook 2010 then you could try MailItem.SendUsingAccount property.
Here is an example
Exchange always sends out all emails coming from the default email address. And for each Exchange mailbox this default address is fixed and can not be changed in Outlook. You can use one of two options:
You can create an additional mailbox in Exchange for the second address (as the default email there of course) and then give your normal account "Send-As" rights for that new account. Then you can switch on the "FROM" field in Outlook (right-click options > Show Fields > From) and use that field to select the account you want to send from. In Outlook 2013 you can also just connect to the additional Exchange account and might get slighly easier switching.
You can use a 3rd party tool like ChangeSender (http://www.servolutions.com/changesender.htm) to get automatic switching of the accounts when you answer email (answered automatically with the account the email was received under).
Hope this helps - Claus

Reply to functionality in mscrm 2011 Email Entity

Outlook allows you to set the default reply-to address to something other than your own email,
but you can also use more than one email address into that field, which will tell the recipient’s mail client to reply to a list of email addresses,
not just yours. Is it possible to achieve reply to functionality in mscrm 2011, out of box functionality is present? I want to achieve functionality to the link given below in mscrm2011. http://www.howtogeek.com/howto/microsoft-office/send-email-replies-to-another-recipient-in-outlook-2007/. Any help will be highly appreciated
CRM cannot meet this requirement as it is currently designed. If you look at the Email Provider documentation (it is only available in the CRM 4 SDK, not the 2011 SDK) there is no property for a reply-to address. (Here is the link: http://msdn.microsoft.com/en-us/library/cc905922)
It might be possible if you coded a custom e-mail provider but you would be taking on a good bit of work if you went down that path.
I would suggest looking into if this can be on the Exchange server (or whatever e-mail system you are using.) I'm by no means an Exchange expert so I don't know what is possible on the Exchange platform, but I do know that CRM does support setting the reply-to address.

Resources