Dynamics 365 – Entity Type Code List

This article is a repost of an article that exists on SPandCRM.com which I’m slowly moving to this blog.

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”

Simple Node.js Express CosmosDB Pagination

I struggled to find a simple example of how I could return paginated results from an Azure CosmosDB from a Node.js Express application. Luckily, I eventually came across a brilliant article by Elio Struyf which can be found here – Retrieving the CosmosDB query continuation token in Node.js. I’ll post my complete example of pagination from CosmosDB below and explain how it works. The Solution … Continue reading Simple Node.js Express CosmosDB Pagination

Microsoft Teams – To view or edit this plan, including any task in it, ask any member to add you to the Members list of this plan

Well that heading was quite a mouth full. I came across the issue below earlier today when adding a plan to Teams, this seems to be an issue primarily for Teams/site owners.

The issue presents as in the image below when a user navigates to a Planner instance that they don’t have access to –

Continue reading “Microsoft Teams – To view or edit this plan, including any task in it, ask any member to add you to the Members list of this plan”

Exchange – Cannot Delete Mailbox, Access is Denied

Came across an interesting issue whereby I was unable to delete certain mailboxes even though I’d verified all the normal access. The error being produced was as below – Active Directory operation failed on SVRGL1191.gloscc.gov.uk. This error is not retriable. Additional information: Access is denied. Active directory response: 00000005: SecErr: DSID-031529F8, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0 Luckily the fix for this proved to be very … Continue reading Exchange – Cannot Delete Mailbox, Access is Denied

PowerShell – How to Report on NTFS File Inheritance & Permissions

The script below was taken from https://www.lepide.com/how-to/get-an-ntfs-permissions-report-using-powershell.html The script takes a directory path to search from, it will then get a list of all subdirectories, loop through each of them then generate a nice grid view report of all permissions in subdirectories and whether they are inherited. This should generate a report similar to the image below – Continue reading PowerShell – How to Report on NTFS File Inheritance & Permissions

PowerShell – Getting all Users in Domain Users Group – 5000+ Users

I recently needed to generate a report of all Domain Users which brought up a few interesting issues, the first is that members aren’t actually listed as members of the group which removes the ability to use a lot of the standard PowerShell commands to produce a report on it, plus the group had well over 5000 users which again limits the commands available to … Continue reading PowerShell – Getting all Users in Domain Users Group – 5000+ Users

How to Display a Desktop Notification When Outlook 365 Subfolder Receives Email

Although the instructions below are specifically for Outlook 365, the same instructions should apply to all versions of Outlook from 2007. By default, any emails that are automatically moved to a subfolder in Outlook using rules will not generate an alert that they have been received, as emails to the inbox normally do. Luckily the fix for this is relatively straightforward as I’ll show below … Continue reading How to Display a Desktop Notification When Outlook 365 Subfolder Receives Email

Dynamics CRM – How to Properly Calculate VAT/Tax on Opportunities and Quotes

There are quite a few ways to calculate tax and VAT in Dynamics and it’s likely arguable which way is the best, however, personally I believe the proper way to do it is to calculate it at the individual line items level which then properly rolls up to the opportunity or quote record. This seems like the cleanest way to do it, doesn’t effect the … Continue reading Dynamics CRM – How to Properly Calculate VAT/Tax on Opportunities and Quotes