Microsoft RDP Client Error on Mac

When connecting using Microsoft Remote Desktop from a Mac to a remote PC, you might experience the following error: There are no Client Access Licenses available for the target remote computer (code LicenseNoLicense(258))Most IT departments knows how to fix this; for Windows. This involves deleting registry keys, but you don't have them on a Mac.

read more

Securing web.config passwords and secrets in .NET

Sometimes we need to access remote systems that cannot use single sign-on or Kerberos, and are forced to store sensitive information in the web.config file. This could potentially be an issue if the server has access by several admins. In this case, you could encrypt the passwords.If you have the ability to add malicious code, reverse engineer the DLL etc, then sure you can get around it but it is an adequate solution for stopping people with read access to see your secrets.

read more

Retrieving a SharePoint app URL using JSOM

At occasions, I need to call apps directly from other scripts. I then need the actual app web URL and cannot launch a dialog to find this.There are APIs out there to get this but the entire URL must be constructed.I know the app domain and redirect URL, but need to fetch the app web, i.e. the masquerade URL. To do this, I can use the following snippet:The key here is to send the app redirect URL together with a part of the app URL to check for.

read more

Cleaning Publish Folders for TFS/Visual Studio Online

The data growth a year down the line on our build server is pretty insane. There are nearly a terabyte of files in the Publish folder, even though we run cleanup scripts after each build in the pipeline.The problem is that the retention in Visual Studio Online does not match what is in the Publish folder as these are never cleared. You need to create a pipeline step or run a script.I created a script that can be run on a schedule.

read more
1 2 3 4