List all mail folders for a specified user to easily locate a missing folder

If you have ever seen these user requests, then this simple PowerShell script is for you: I've dragged my mail folder and now I cannot find it anymore; I've clicked on something, and now the folder is gone; I haven't done anything, but that folder was here yesterday. These types of requests are not an issue if you are dealing with a user who has several folders in addition to the standard ones. However, it's not that uncommon for a user to have a hundred of them or even more. This is when manually searching for a lost folder turns into something big. What this PowerShell script does, it shows all mailbox folders for a specified user and the path each one of those folders has. The result is shown in a Grid View that allows you to sort and search/filter. So simply search for a name your user told…

Continue ReadingList all mail folders for a specified user to easily locate a missing folder

Create and customize animation for controls and objects in PowerApps

Creating a functional PowerApps app is one thing. Making an app look good is another, which always happens to be time consuming. So let's try to make an app look better by adding some animation to one of the objects. My example app has two screens - InputScreen and SuccessScreen. On InputScreen I have a "Submit" button that makes a transition from InputScreen to SuccessScreen.  ButtonSubmit > OnSelect value: Navigate(SuccessScreen,ScreenTransition.None) One might say that ScreenTransition.Fade will do the trick and show SuccessScreen and its objects smoothly. That is true; however, a control you are willing to animate does not have to be tied to a loading screen. On top of that, ScreenTransition.Fade affects the whole screen. So here I use ScreenTransition.None on purpose. SuccessScreen has Label1, Icon1, and Circle1 objects. Let's add some smooth animation to that circle object and make that animation work as soon as SuccessScreen is visible. To…

Continue ReadingCreate and customize animation for controls and objects in PowerApps

List all Corporate Contacts and Distribution Lists they belong to

There are times when your company needs to keep a list of Corporate Contacts that are used by your own users on a daily basis. You can find them in Microsoft 365 Admin Center - Users - Contacts or Exchange Admin Center - Recipients - Contacts. It gets more complicated when those contacts are added to several Distribution Lists, more so when they are mixed with your users. The issue is that unlike working with Internal Users, you cannot open a contact and see which groups it belongs to. This is where PowerShell comes handy. The script below finds every single contact and all groups it belongs to (if any). To show the result I use a Grid View (Out-GridView) because it provides an easy column sorting and filtering. This script might help to find a user error if some contact should or should not be in a group. Side…

Continue ReadingList all Corporate Contacts and Distribution Lists they belong to