Application Catalog is still required when deployed as available for users

Background I was recently asked what the prerequsites was for deploying application to users as Available. It turns out the customer was interested in moving from Application Catalog to the new Software Center which in turn made them ask some questions. Previously in the Silverlight based Software Center users were unable to install applications that was Available to them. They had to open Application Catalog to see those applications. Solution It turns out that while you can install available applications through the new Software Center you still need Application Catalog installed and configured in ConfigMgr even though you don't have…

0 Comments
Outlook certificate warning when adding an Exchange server

Certificate warning when adding an Exchange server Background When introducing a new Exchange server in an existing organization there is a common issue that appears.The new server doesn't have any certificates and because of this you will most likely see this message in Outlook on clients that are connected to your environment. I've seen this at multiple customers when they are installing a new Exchange 2016 server and adding it to their existing environment. A common scenario where this occurs is when you have an Exchange environment and a Office 365 tenant and are in the final steps of migrating to…

0 Comments
How to Find App Bundle ID for iOS Apps

Background Sometimes when working with Intune you will come across settings that require you to supply the App Bundle ID for apps you want to configure.The documentation for Intune has a list of all build-in apps from Apple and can be found here. An example of when this would be required is when you want to configure the Show or Hide Apps (supervised only) or Restricted Apps settings for iOS. Unfortunately there is no way to find the App Bundle ID directly in the App Store without some tricks. Solution When you have an app that you want to add…

0 Comments
Create Powershell GUI with WPF

I recently switched to WPF to create graphical interfaces for my tools.In this post I will show you a very simple way of creating the GUI using Visual Studio. Previously I was using WinForms and creating everything manually and eventually, I got tired of this since it took a lot of time.I've also tried to use Powershell Studio but since that is a product that is not free of charge and WinForms is getting old I felt like this was a good transition.The switch to WPF really sped things up for me and made my tools look really fresh and modern.…

0 Comments
PowerShell – Implicit remoting issue after Windows Update

Implicit remoting issue after Windows Update Today I discovered a problem on my computer when trying to connect to Exchange Online.I was about to add some mailbox permissions in Exchange Online when I was interrupted during the sign in process. Issue When running my script to connect to Exchange Online I was greeted by an error message instead of the usual information.I usually run my script, supply my credentials and continue happily. It looked like this: I was using this a few days ago without any problem so something must have happened recently.This means that it was unable to import the…

0 Comments
Powershell – Connect to Exchange Online

Connect to Exchange Online using powershell I thought that I would share my script to connect to Exchange Online. It is quite simple but is required to be able to work with Exchange Online together with Powershell.This version also uses an URI that supports uploading user photos that are up to 100kb in size.   Solution Copy this code and run it as a script in Powershell ISE. $Credentials = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/?proxymethod=rps -Credential $Credentials -Authentication Basic -AllowRedirection Import-PSSession $Session When running this script you will be prompted for credentials to your Office 365 tenant.Supply…

0 Comments
Office 365 – Change UPN for an existing user

Hello, Sometimes you might have to change the UPN for a user that has already been synced to the cloud.This can be due to typos during creation, a new surname or similar scenarios. You can change the UPN in the local Active Directory but this will not sync to the cloud with DirSync.This is due to that the UPN in Azure Active Directory is created during the first sync and it will not be changed by any future sync. To resolve this you have to change the value manually using powershell.You need to download and install this Microsoft Online Services…

0 Comments
Desired State Configuration – Start-DscConfiguration job fails.

Hi, When I began pushing out configuration files in my lab environment I encountered an issue.The background job that ran after the command was entered failed. I spent quite some time trying to troubleshoot the firewalls, PSRemoting and other things that came to mind after reading the error messages. However it turned out that it wasn't a configuration error but instead an update that was required. I had to install it on both my Server 2012 R2 and Windows 8.1 nodes. The update in question is KBKB3037315 and it can be found here.After installing it and rebooting the nodes I…

0 Comments
Desired State Configuration – Creating a configuration file for DSC

Hi, Desired State Configuration (DSC) is a new feature that was introduced with PowerShell 4.It enables you to deploy configuration data to clients in or outside your network. In some aspects DSC can be compared to GPO, except that it can be used to configure Linux and Mac clients.Windows support is native but you can download new Resources to use with Linux and Mac. DSC uses a few components to perform the configuration you want.First you need the configuration file that specifies how to identify a node and what that node should do.This file will be used to create a…

0 Comments
Powershell: Add or Remove access rights to shared mailboxes in Exchange 2010.

I had a user that was unable to open existing shared mailboxes in Office 2013.The user had upgraded Office from 2010 and was unable to expand the shared mailboxes afterwards.To solve this we had to reassign permissions to the mailboxes. I used the following command to get a list of mailboxes that the user had access to instead of checking each of them manually. $Users = "username" Get-MailboxPermission -Identity * -ResultSize Unlimited | Where-Object {$_.User -like $User} | select identity,user | Export-Csv c:users.csv I edited the CSV to be imported properly by Import-Csv.When the CSV is ready I used the…

0 Comments