Redirecting OWA

<title>HTML Redirection to https:</title>
CONTENT="1; URL=https://<servername>/exchange">
This page is attempting to redirect you to <a href="https:// <servername>/exchange/">https:// <servername>/exchange</a><br>
If you are not redirected within a few seconds, please click the link above to access Outlook Web Access.


Microsoft Exchange 2007 – OAB Problem

I have set up an Exchange 2007 server for a customer and I bumped into a problem when syncing Outlook 2003. I receive an 0x8004010F error message when you try to synchronize the offline address list.


Goto Exchange Management Console – Server Configuration – Mailbox – Database Management tab –  
First Storage Group – Mailbox Database. Open properties – Client Settings tab-Offline Address Book field

Select the correct OAB.


Microsoft Exchange Server 2007 – Public Folders

Some powershell stuff on managing Public Folders in Exchange 2007

Create Public Folder

   New-PublicFolder -name "Name"

Remove a Public Folder

   Remove-PublicFolder -Identity "My Public Folder"

Get information on Public Folders

   Get-PublicFolder or Get-PublicFolder -Identity ""

Get information on all public folders

   Get-PublicFolder -Recurse | Format-List Name

get info on all system folders (not otherwise visible)

   Get-PublicFolder -Identity NON_IPM_SUBTREE -Recurse | Format-List Name 

What I need to find out:

– I could not find how to create a Contacts och Calendar Folder
– I could not find out how to change permissions on the root of the Public Folder tree
– I could not change the permission on the public folders


Microsoft Exchange Server 2007 – Back Pressure

From Microosoft Technet:

——————— Start Quote —————————————-

Back pressure is a system resource monitoring feature of the Microsoft Exchange Transport service that exists on computers that are running Microsoft Exchange Server 2007 that have the Hub Transport server role or Edge Transport server role installed. Important system resources, such as available hard disk drive space and available memory, are monitored. If utilization of a system resource exceeds the specified limit, the Exchange server stops accepting new connections and messages. This prevents the system resources from being completely overwhelmed and enables the Exchange server to deliver the existing messages. When utilization of the system resource returns to a normal level, the Exchange server accepts new connections and messages.

The following system resources are monitored as part of the back pressure feature:

  • Free space on the hard disk drive that stores the message queue database.
  • Free space on the hard disk drive that stores the message queue database transaction logs.
  • The number of uncommitted message queue database transactions that exist in memory.
  • The memory that is used by the EdgeTransport.exe process.
  • The memory that is used by all processes.

——————- End Quote ————————————–

I noticed this problem on my newly istalled E2k7 server. The reaseon for this is that by default MS E2k7 places all queues and databases on the installation drive… I simply moved them the correct path which had plenty of space.

I used the Management Console to move the databases and I edited EdgeTransport.exe.config to change the queue path.

If you have this problem in a lab environment you can turn this feature off like this:

– Open  EdgeTransport.exe.config, located in the C:Program FilesMicrosoftExchange ServerBin
– Change EnableResourceMonitoring to false

Note: This in NOT recommended in production.


Microsoft Exchange Server 2007 – Connectors

I recently installed my first Exchange 2007 Server and I had problems with recieving mail and found it to be related to the recieve connector.

Exchange 2007 have two kinds of connector. Send connector and recieve connector.

The send connector is located on the Organisation Level and you need to create one for the servers to be able to send mail to internet.

The recieve connector is located in the server level. The Default Recieve Connector is automatically created.

Note: By default it is set up to only recieve mail from authenticated servers. This is a problem if the server is connected directly to the internet. To fix this open properties for the Default Connector and go to “Permission Groups” and click “Anonymous Users” or use Powershell:

   set-ReceiveConnector -identity “Name of Default Connector” -PermissionGroups AnonymousUsers


Scripting Exchange 2007

As you know Exchange 2007 can be totally administered by using Powerscript. Here I have tried to collect some scripts for Exchange 2007 administration:

Empty a mailbox database

List mailbox servers in an organisation


List maildatabases on current server


List mailboxes in maildatabase

   get-mailbox -database "Mailbox Database"

Disable a mailbox

   disable-mailbox [mailboxid]

Bulk enable mailboxes for AD users:

selects all users from AD

   get-user | where-object{$_.RecipientType –eq “User”}

Selects all users from the OU people

   get-user –organizationalUnit people | where-object{$_.RecipientType –eq “User”}
   get-user -organizationalUnit domain/OU/SUBOU | where-object{$_.RecipientType -eq "User"}

   Note: This will get you only users NOT users with mailboxes

Mailenable users from CSV file

   Import-CSV import.csv | foreach {enable-mailbox -Identity $_.Fullname -database EXCHSERVERMailbox Database"}

Where the importfile looks like this:

Firstname Lastname, Change Booking Policy for resources
Set-MailboxCalendarSettings -Identity "Resource Name" -BookingWindowInDays 520


Related Links

Microsoft Exchange Server 2007 Installation Issues

– Domain not in Windows 2000 native mode or Higher

   Solution: Raised Domain functional Level

– Domain Controller Pre Windows 2003

   Solution: Specified DC on install

   setup /mode:install / /roles:ht,ca,mb,mt /enablelegacyoutlook /Organizationname:Company

– Missing Patches for Powershell and .NET Framework


– You do not have permissions to read the security descriptor on CN=Deleted Objects,CN=Configuration,…

   Started installation from console instead of RDP Session


Common Mistakes When Upgrading Exchange 2000/2003 To a Exchange 2007
Google Groups
Jim McBee’s Mostly Exchange Web Log
HELO Windows Blog
Microsoft Technet Forum

Installation av Microsoft CRM Server 3.0

Installation av Microsoft CRM Server 3.0

(Detta är en editerad version av postningen den 22/5 2006)

Förutsättning: Microsoft CRM installeras i detta fall på samma server som Microsoft SQL. Allt installeras på en Windows Server 2003 SP2.

Installera IIS med följande komponenter:
 – WWW Publishing Service
 – SMTP Service

Installera SQL Server 2005 (Jag installerades SP0. Har inte kunna testa med SP1 och SP2.)
 – SQL Server Database Service
 – Reporting Services (kan installeras av CRM om du använder SQL 2000)
 – Windows Authentication Mode
 – Finnish Swedish

Skapa Användare mm i AD
 – Skapa OU Microsoft CRM
 – Skapa Användare CRMAdmin (Domain Admin under installationen)
 – CRM Mail – Vanligt konto med mailbox (Mailrouter till Exchange)
 – Skapa DNS Pekare CRM till servern
 – Verifiera Full-Text Searching i SQL Enterprise Manager
 – Starta Indexing Service och sätt automatisk
 – Starta SQL Agent och sätt automatisk

Installera Microsoft CRM som CRM Admin

CD Key finns på CDKit. om du inte hunnit få detta kan du använda en utvärderingsnyckel (se nedan). Denna kan bytas mot den riktiga nyckeln inom 90 dagar.

  Create New Website
 – Ange Exchange Server (endast vid mailintegration)
 – Koppla upp http://localhost:5555

Installera Microsoft CRM Rollup 1

Edit: Jag installerade SQL SP1 i efterhand och det verkar fungera

OBS Plocka inte bort den website som läggs upp av installation och ändra inte port OBS

Post Install Tasks

Microsoft CRM

Verifiera att AD grupperna (PrivUserGroup, SQL Access Group, Reporting Group och UserGroup) har skapats.

Lägg Microsoft CRM Service, IIS Service Account och SQL Server Service Account konton i “Pre-Windows 2000 Compatible” säkerhetsgruppen.

Registrera CRM installationen inom 30 dagar

Skapa ett nytt adminkonto i MS CRM. Kryssa i restricted access för detta konto. Kryssa ur Restricted access för CRMAdmin

Reporting Services

(Om CRM körs på samma server som MS SQL 2005) Byt Application Pool på den virtuella katalogen reports till Default Application Pool.

Kopiera mscrm.css, mscrmx.css, mscrmp.css, mscrmxp.css från wwwrootCRMReportsrsstyles på MSCRM Installationsskivan till c:ProgramFilesMicrosoftSQL ServerMSSQLReportingServicesReportServerstyles

Ändra rättigheter på ovanstående filer: Lägg till UserGroup Read

Verifiera Reporting Services genom att öppna Workplace, under My Work, klicka Reports och välj User Summary

Gå till Microsoft KB Artikel om Backup
Microsoft CRM Implementation Guide – Planning the Backup and Restoration of the Microsoft CRM System

Update Rollup 1 for Microsoft Dynamics CRM 3.0 is available
Update Rollup 1 for Microsoft Dynamics CRM 3.0 (KB922815)

Tidbits on MS CRM

Microsoft CRM 3.0: 90-Day Trial Versions