Exchange 2013: URLs Configuration Script
Well! This was long time due so here is it. Finally I got some time to work on it and shared it.
I can understand when you configure more than one server you would like to configure them in one go and don’t wish to spend hours on it.
Moreover there is no way you can update internal urls in one go.
This is the script to configure Exchange 2013 urls. It will configure the following urls for all servers within 5 minutes and 3 inputs.
3 inputs will be internalurl, externalurl and autodiscoverserviceinternaluri.
1. Autodiscoverserviceinternaluri
2, Offline Address Book Internal url
3. OWA internal url
4. ECP internal url
5. Activesync internal url
6. EWS internal url
7. Offline Address Book Externalurl
8. OWA Externalurl
9. ECP Externalurl
10. Activesync Externalurl
11. EWS Externalurl
I have uploaded it to the technet gallery here. – https://gallery.technet.microsoft.com/Exchange-2013-Urls-ce3acd0c
In case your environement many servers and expanded to multiple AD site then you are open the script and add the below mentioned line in front of every get command to run the script query only for Exchange 2013.
Get-ExchangeServer | ?{$_.AdminDisplayVersion -Match “Version 15”} |
Hope this will help on your new deployments.
Prabhat Nigam
Microsoft MVP | Exchange Server
Team@MSExchangeGuru
Tweet me @PrabhatNigamXHG
June 15th, 2015 at 10:22 am
Hello Mr. Nigam,
we have a Problem with the Internet calendar sharing of Exchange 2013 CU6.
We want to share some of user-calendar with outher user outside our Organisation.
If we start OWA on our Exchange 2013 and logon with the user who want to share his calendar with other users. We go to the calendar-tab, right-click on calendar on the left side an click on share calendar. On the left side opens a small Formular to insert email-address and other things. A Click on the send-button generates a mail to the recipient i insert in the field below. The eMail of the recipient contains the following url’s
http:///owa/calendar/………..
and
webcal:///owa/calendar/………
This two link’s doesn’t work, because we use SSL to connect to our OWA-Server, so the link’s must look like
https:///owa/calendar/………..
and
webcals:///owa/calendar/………
We must change manually to https:// and webcals://
Did you know a way to do this automatically, when Exchange generate’s the URL’s for calender-sharing?
Sorry for my english, I think there is a lot of error in my eMail. I hope you understand my Problem and I am to be good of hope you can help me! 🙂
Best regards
Peter
June 15th, 2015 at 11:24 am
Hi Peter,
You need to configure organizational relationship which is a federation. I will try to cover it in future post but you can try to google it.
June 16th, 2015 at 8:08 am
Hi Prabhat,
thanks for your quick answer.
It is possible to share the calendar without a federation, it named anonymous calendar sharing. I think i say it wrong in my first comment!
You can see this at http://blogs.technet.com/b/exchange/archive/2014/04/15/how-to-publish-anonymous-calendar-sharing-url-in-exchange-online-or-exchange-2013.aspx
The Problem i have is the wrong generated URL’s (see first comment)
Hope you can help me!
Best Regards
Peter
June 16th, 2015 at 12:35 pm
Peter,
We don’t recommend you configure anonymous calendar sharing because it is open for the whole world who is aware about the link. This opens a risk to share the confidential data to anonymous user rather you should go for federation.
As far as ssl is concern you can offload the ssl. In other words give the https url to the user and offload ssl at load balancer or reverse proxy level.
May 10th, 2018 at 5:06 am
[…] had written the similar script for 2013 which is missing MAPI protocol URLs which will be covered in this […]