D365: Set Customer field to default to Contact

Here's a handy little JavaScript that lets you set a Customer Field in CRM to default to Contact instead of Account. A Customer Field is a "special type" of field in CRM that can either be set to an Account or Contact. When you add a custom one in CRM, it defaults the lookup to go to Accounts first - the user then has to manually (every time!) change it to Contacts if they want to select a Contact record. [More]

Fixing Office 365 Ribbon Toolbars

After a recent update to Microsoft Office 365, I was surprised to see the Office Toolbar/Ribbon behave weirdly when I tried to pin it. Previously, when I pinned it, it would just stay on the screen in the format it was in. However, after the update, pinning the Toolbar resulted in it completely changing - and it became bigger and (in my opinion) less useful. It turns out the issue is related to some Touch settings in Office! [More]

Using LetsEncrypt Certs with IIS without ACME

I use LetsEncrypt for my SSL needs on my websites (including this one!). It works seamlessly with my hosting provider (GoDaddy) but sometimes I generate a certificate to use on a local Windows box for testing purposes. However, the certificates that LetsEncrypt gives you aren't readily importable into IIS. Fortunately, there is a way to do it. [More]

Verifying Active Directory Credentials

If you're like me, you are often configuring servers and services to use service accounts - a service account is a dedicated Active Directory account that is not used by any users, instead it is used by an application to access network resources. Sometimes I am unsure if I have the right password for the service account (for example, configuring SQL Reporting Services to use an AD account), so it is helpful if I can verify that I have the right username and password. [More]

Set ADFS Timeout for CRM/D365 On Premises using IFD

If you run CRM/D365 on premises you may notice that out of the box the security tokens only last for an hour and then you have to log in again. This is because the default lifetime of the security token for claims-based authentication in Active Directory Federation Services (ADFS) is 60 minutes. When I normally set up an on premises installation, I set the token lifetime to be at least 8 hours (480 minutes) so that users will be able to log in when they arrive in the morning and then use CRM uninterrupted until they leave at the end of the day. The next day when they go to CRM, they have to log in again. [More]

Bypass WSUS Server for Windows Updates

Most of the time using your local WSUS server is a very good idea - that means your getting your Windows Updates from a local server on your network. However, sometimes the WSUS server has issues, or it doesn't have the updates you require (I have run into this trying to manually install .NET 3.5 onto some older servers). To bypass the WSUS server is relatively simple. [More]