> Microsoft

Microsoft is where I work and the creator of the technologies I've spent most of my career working with.

MDE Migration Script
MDE Microsoft Defender for Endpoint Migration

MDE Migration Script

David McWee ·

For the last 2-3 years I've been working with customers on migrating to Defender for Endpoint from other AV/FW/EDR solutions. One of the big issues I've seen is there are a lot of checks to see what could prevent Defender from successfully onboarding. In order to make these checks more consistent and faster I decided to create a script to help identify and flag potential migration issues.

Getting started with Defender Attack Surface Reduction - Part 2

Getting started with Defender Attack Surface Reduction - Part 2

David McWee ·

In the previous post about ASR adoption, I recommended you enable ALL ASR rules in AUDIT mode. Now we will use the Security Baseline to build an ASR policy that *should* be minimally impactful to your systems and end users.

Getting started with Defender Attack Surface Reduction - Part 1

Getting started with Defender Attack Surface Reduction - Part 1

David McWee ·

This post is intended as a starting point for organizations looking to adopt Attack Surface Reduction (ASR) rules. ASR rules can help improve an organization's security, but they can potentially disrupt normal user and application behaviors in certain environments. My recommendation to anyone looking to implement ASR rules is to always start with **Auditing**.

Get started with Defender AV - Part 2

Get started with Defender AV - Part 2

David McWee ·

This is the second post on switching to Defender Anti-Virus and using the Security Baselines published in Endpoint Manager to create a good starting point for your Defender AV settings. This post will focus on the settings in the **Security Baseline for Windows 10 and later** and how to create an AV only policy based on these settings.

Get Started with Defender AV - Part 1

Get Started with Defender AV - Part 1

David McWee ·

When switching from one AV to another organizations want to know if they can keep their current AV settings, or if their AV Vendor has recommendations for better adoption, detection, and performance. For these types of conversations with Microsoft Defender AV I often recommend customers look at the Security Baseline rules as a good starting point.

MDI Learning Periods
Defender for Identity MDI Microsoft Security Identity

MDI Learning Periods

David McWee ·

MDI alerts have a number of different learning periods, and each is well documented. However, there is not a single list of all the alerts that have learning periods for easy reference, so I have created and will update this list.

How to Fix the SharePoint Modified Date to use Date and Time
SharePoint 2013

How to Fix the SharePoint Modified Date to use Date and Time

David McWee ·

If you've started using SharePoint 2013 you probably noticed that Microsoft changed the way they present the Modified value. In SharePoint 2010 the Modified field showed a Date/Time stamp, but in SharePoint 2013 the Date/Time is replaced with something like "3 minutes ago". Personally I like this, but some users may not and the Date/Time stamp may be really important especially for Legal Departments or other Audited applications.

Client Side Rendering of Form Fields
SharePoint 2013

Client Side Rendering of Form Fields

David McWee ·

I've been working on a site migration from SharePoint 2010 to SharePoint 2013 and a lot of what we did in 2010 was to customize forms the user interacts with. One of the requirements we had was to ensure a Project Name and Project Alias field did not contain the same information. In SharePoint 2010 this had been done by adding some JavaScript to the page, grabbing each control by HTML Element ID, and then comparing their values. When we migrated these fields all got new HTML Element IDs so our validation logic was broken.

Hero Blog Post of the Day
SharePoint 2010

Hero Blog Post of the Day

David McWee ·

I was working on a project today where I need to dynamically create a MS Word Document, save it to a SharePoint library, and then present the document to the user for editing. My first attempt was to create an IFrame that would redirect to the document once it was created, but this would only open the document in 'Read Only' Mode.

More About Managed Metadata
SharePoint 2010

More About Managed Metadata

David McWee ·

I recently had more fun with setting Managed Metadata values in SharePoint 2010. This time as part of an event receiver during the Item Adding, Item Updating, and Item Updated events. (There are interesting event ordering challenges which lead to using all of these events, but that is not the focus of this blog.) The challenge I faced was copying values from a Document Set down to documents that were being created/uploaded to the list. Normally, using Shared Properties would negate this but because we wanted use to edit the Managed Metadata Values in the Document Information Panel we could not use shared values because the Document Set would immediately overwrite any changes made to the document. Instead we created an Event Receiver to manually handle the updates from the Document to the Document Set, and from the Document Set to the child documents.

Setting Managed Metadata
SharePoint 2010

Setting Managed Metadata

David McWee ·

I recently had an issue trying to set the Managed Metadata field value on a new list item I was creating in C# code. In the control where the user could select the managed metadata value I was using the OTB Taxonomy Control which was properly bound to my Managed Metadata Field.

Fixing IE11 Enter Key Problem with Search
Firefox IE11 UserAgent SharePoint 2010

Fixing IE11 Enter Key Problem with Search

David McWee ·

I was recently working for a client who began having issues with the Windows 8.1 baseline and their search center.

More customizations with Client Side Rendering
SharePoint 2013

More customizations with Client Side Rendering

David McWee ·

Recently I posted about how you can use [Client Side Rendering (CSR)to display contacts on a map](http://davidmcwee.com/2014/01/28/sharepoint-contacts-on-a-map-with-client-side-rendering/ "SharePoint Contacts on a Map with Client Side Rendering"). After posting about how to display the entire list data, I decided I wanted to see how CSRcould be used to change the user experience while adding, updating, and viewinglist items, updating items, and viewing items. This post will provide a high level overview of how I was able to change the display during New, Display, and Edit of an individual item and then later I will actually put this together with the Contact Map idea.

Bye InfoPath, Hello Apps for Office & Lightswitch
InfoPath

Bye InfoPath, Hello Apps for Office & Lightswitch

David McWee ·

The Microsoft Office [announced](http://blogs.office.com/2014/01/31/update-on-infopath-and-sharepoint-forms/)on Friday that InfoPath 2013 will be the final version released.This is a significant announcement because itmeans any customer with customSharePoint workflows, Office Document Information Panels, and any other Data Entry Applications will have to move those to a new technology, but Microsoft hasn't said which one.

SharePoint Contacts on a Map with Client Side Rendering
SharePoint 2013

SharePoint Contacts on a Map with Client Side Rendering

David McWee ·

Several years ago, back in the dark days of SharePoint (MOSS) 2007, [Tom Resing](http://tomresing.com/) and I worked together on a demo displaying contacts from a SharePoint contact list on a Bing/Google Map. He and I presented this at several SharePoint Saturday events (Boston, Virginia Beach, Richmond, Tampa) and found highly positive response. It has been a while since Tom and I worked together, and a lot has changed in SharePoint so I wanted to revisit our old demo and take a newly available approach.

IE11 Broke SharePoint 2010
IE11 User Agent SharePoint 2010

IE11 Broke SharePoint 2010

David McWee ·

I've been noticing recently my SharePoint site was behaving oddly, especially when I wanted to edit a web part. Yesterday the odd behavior hit a critical point as I was unable to connect web parts on a page. The problem was every time I clicked the drop down arrow on the web part heading the page would refresh and some of the menu content would appear in a side panel, where the web part properties are usually displayed.

Site Collection Content Type vs. Content Type Hub
SharePoint 2010

Site Collection Content Type vs. Content Type Hub

David McWee ·

I've been working on a project recently that has a large number of sub-agencies and the parent organization was attempting to push a standardization of Content Types.

SharePoint Published Content Types
Publishing Content Types SharePoint 2010

SharePoint Published Content Types

David McWee ·

I have done a lot of development with SharePoint workflows, especially those developed in Visual Studio. Unless I have been working with a standard list type, I generally create a Content Type that my workflow can be associated with and to ensure the columns and values needed in the workflow will be present. However, creating Content Types is always a painful process, because as you develop the content types and test them you need to delete the original content type, and any list depended up in before you deploy the updated version. This is even worse when you upgrade a solution that is in use in production because you can't easily delete the content type just to add additional fields.

SharePoint 2010 and jQuery 2.x
jQuery jQuery 2 KnockoutJS SharePoint 2010

SharePoint 2010 and jQuery 2.x

David McWee ·

Recently, I was working with a coworker who had created a javascript dashboard using jQuery and KnockoutJS in SharePoint. The dashboard had worked perfectly for him, but when I viewed the site none of the data would render.

User Profile Personalized Links
SharePoint 2010

User Profile Personalized Links

David McWee ·

Recently my company performed a migration for our old production environment to a new production environment so we had a more stable and robust platform to support the company, including providing leadership with better business intelligence about our operations. As part of the migration one of my goals was to launch My Sites for our internal users so they had somewhere to store information they were working on.

SharePoint 2010 and Windows Azure App Fabric Access Control (ACS)
SharePoint 2010

SharePoint 2010 and Windows Azure App Fabric Access Control (ACS)

David McWee ·

Last month I was working on a demo for a charitable organization that has lots of volunteers around the country. The charity didn't want to have to create new active directory accounts for each of these volunteers so as part of the demo we integrated SharePoint 2010 site with Windows Azure App Fabric Access Control (ACS), this way we could use Google, Windows Live, and Yahoo! as authentication providers. (Yes I know we could hook directly to each of these providers, but using ACS allowed me to use all the providers with one SharePoint Trusted Provider instead of using three different trust providers). We demoed the site to the charity and they were very excited and happy with the solution.

Visual Studio 2010 SharePoint List Template Error
List Template Visual Studio 2010 SharePoint 2010

Visual Studio 2010 SharePoint List Template Error

David McWee ·

I was attempting to create a custom FAST Search Center that would have a custom master page, and some web parts added to the search and result pages. My starting point was to grab the FAST Search Center site definition from the site templates in the SharePoint 14 Hive.

SQL Server Date vs. DateTime columns and the SharePoint 2010 External Content Type
External Content Types SharePoint 2010

SQL Server Date vs. DateTime columns and the SharePoint 2010 External Content Type

David McWee ·

Recently I have been working on a SharePoint 2010 solution that leverages External Content Types for storing information associated with Microsoft Dynamics Great Planes Timesheets. Part of the information captures when an task is expected to be completed, which the UI allows the user to select a date from a calendar. Since the only significant information for this field was the date when I designed the database I chose to only capture the date value. Testing on my local Windows 7 VM worked perfectly and we rolled the solution out to the customer for testing.

Microsoft Silverlight 4 and SharePoint 2010 Integration
SharePoint 2010

Microsoft Silverlight 4 and SharePoint 2010 Integration

David McWee ·

Recently I was contacted by PACKT Publishing because they have recently published a book **Microsoft Silverlight 4 and SharePoint 2010 Integration** and wanted me to review the book. I’m actually quite excited about this opportunity because it is my first invitation to review a book, and the book is talking about two of my favorite technologies!

SharePoint and Membership Providers
SharePoint 2010

SharePoint and Membership Providers

David McWee ·

Many SharePoint developers have come from a background with ASP.NET and so most are familiar with the Membership Provider concept. SharePoint uses ASP.NET at its core the membership providers you have build for custom web applications can be used in your SharePoint web application. The advantage of this is that you can abstract your web parts, application pages, etc in SharePoint so they use the Membership Provider to get user information rather than coding your own Active Directory calls into a library or the web part/application page itself.

SharePoint Lists Web Service
SharePoint 2010

SharePoint Lists Web Service

David McWee ·

During a recent project I was leveraging the SharePoint Lists Web Service to retrieve information from a list and push it to a Silverlight display. The list I was using was a heavily customized list with about 35 different views and at least as may fields. My Silverlight display would provide information like the “status” of the list item based on a number of other criteria. This status field was stored as a simple “Single line of text” field in the SharePoint list.

A WCF

A WCF "WHAT THE..."

David McWee ·

I’ve been working with WCF and SharePoint 2007 and ran across an issue. The scenario is an Account Registration process which allows the user to request access to “protected” sites within a portal. This solution blends some jQuery and WCF using the JSON format for request and response messages. The issue I ran into was when a user requested access to a/several sites I needed to pass the Site ID to the WCF service as part of the user request object.