Dynamics 365 – Entity Type Code List

This article is a copy of my post on my old SPandCRM.com blog, I will be slowly moving across some of the more popular articles. Another quick reference article today, in this article I’ll provide a list of type codes which are internal ID references to entities and I’ll provide some and SQL query that will allow you to easily return your own ID values. … Continue reading Dynamics 365 – Entity Type Code List

SharePoint Online – How to add an additional admin to all sites

This is just going to be a very short form example showing some code to add an Additional Admin to every SharePoint online site. The Code The code below will find all modern, teams and publishing site collections, it will then loop through them all and add a defined user as an additional admin. Be sure to change the *orgName* and *emailOfOwnerToAdd* sections to your … Continue reading SharePoint Online – How to add an additional admin to all sites

Microsoft Teams – Fixing Dark Camera Video

Another day, another Teams workaround. So as we’re all working from home I’ve been trying to use the camera more as time goes on, which has led me to another problem, my camera video is extremely dark, but only in Teams!

Luckily, the great Teams community has come up with a great and fairly quick workaround for this problem.

Continue reading “Microsoft Teams – Fixing Dark Camera Video”

Microsoft Teams – Fix Auto-Adjusting Microphone Audio

So I’ve been dealing with a typically Teams issue, during certain calls Teams would decide that me talking was too similar to static, even on a high-quality microphone. The obvious solution is to disable “Allow applications to take exclusive control of this device” which should stop any applications from controlling the audio level but it appears that Teams ignores this entirely and will continue to adjust it as it feels.

In this article I’ll cover a fairly simple workaround until Teams either fixes what i would consider a bug or gives us the ability to disable the auto-levelling functionality.

Continue reading “Microsoft Teams – Fix Auto-Adjusting Microphone Audio”

OneDrive B2B Guest Sharing – Sorry, OneDrive can’t add your folder right now

Short article today, so we’ve been dealing with the new OneDrive guest B2B Sync which is a feature currently in preview, we followed all of the initial setup instructions yet it still wouldn’t work.

We would constantly receive “Sorry, OneDrive can’t add your folder right now” when trying to sync a library which the guest user had full access to. After 4 hours on a call with Microsoft support and verifying every setting we could possibly think of I noticed a limitation which we had initially missed.

The reason turned out to be fairly simple and an oversight on our part, but it’s something many of you can easily fall into if you are following the latest Microsoft best security practices.

Continue reading “OneDrive B2B Guest Sharing – Sorry, OneDrive can’t add your folder right now”

Apple Internet Accounts Approval Required

By disabling the ability for users in your Office tenant to consent to apps (best security practice) you may run into an issue when your first Apple iPhone user tries to access their work emails similar to the image below –

So there’s two ways around this, you can either –

In this article I’ll cover how to quickly authorise the application, before that though I’d like to explain why opening up the ability to consent to apps to any user is a bad idea – What is the illicit consent grant attack in Office 365?

Continue reading “Apple Internet Accounts Approval Required”

Migrating Azure VM’s from On-Premise AD to Azure Active Directory Domain Services (AAD DS)

This will be a fairly short article on my experience migrating Azure Virtual Machines that were connected to our On-Premise Domain Controllers to Azure Active Directory Domain Services (DS). Luckily most of the servers had been configured in such a way as to reduce the usage of any domain users which simplified the process greatly, but I will cover what things to check below. Firstly, … Continue reading Migrating Azure VM’s from On-Premise AD to Azure Active Directory Domain Services (AAD DS)

How to Easily Migrate your Entire On-Prem DNS to Azure

So as with many companies we’re shifting to a Cloud environment from aging physical systems, as part of this I came across a requirement to migrate our entire On-Premise DNS System which is hosted on a Windows Server into Azure.

I wasn’t about to start migrating a few hundred individual DNS Zones in this case as that doesn’t sound like a whole lot of fun when it’s a seemingly repetitive task that I could instead script up so that’s what I did.

The instructions and code below are meant to get you in the right direction, the script is not necessarily production ready and could be improved greatly, if you take the time to do so please comment with any alterations you make and I’ll include them in this article.

Continue reading “How to Easily Migrate your Entire On-Prem DNS to Azure”

C#/ Unity – Building a 2D Genetic Algorithm

So this article will be a little different to most of what’s on this site, but the benefit to writing your own blog is you’re not limited on what you can post so here goes!

Today I’ll be demonstrating a 2D genetic algorithm using some fun little aliens, this will basically represent how genetics can diverge over generations, in this case selecting for the reddest coloured alien. I’ll also include how to introduce mutations over several generations.

This article is based on “How to build a genetic algorithm” by Wael Dimassi, which provided a good basis for this work.

This won’t cover any Unity basics as is more focused on the coding aspect.

Continue reading “C#/ Unity – Building a 2D Genetic Algorithm”