How to create Microsoft 365 groups in bulk with sharepoint site and Teams using Powershell


About the Task This week I received a request to create Microsoft 365 groups in bulk using Powershell. I tried to use New-UnifiedGroup command (part of EXO V2 Powershell Module) to create Microsoft 365 group which worked fine for creation of the group but this command did not create corresponding Sharepoint site. Therefore, I utilized New-PnPMicrosoft365Group command (part of PnP.Powershell powershell module). In this blog post, I have explained in detail on how to use New-PnPMicrosoft365Group command and create Microsoft 365 group(s). First Step is to Install PnP.Powershell Module and authenticate using Connect-PnPOnline to Sharepoint before we can run New-PnPMicrosoft365Group cmdlet. There are many different ways you can authenticate to …

Read more

Thank you Readers – TechPress reached 100K All time Views

Hi Everyone – I wanted to thanks each one of you for visiting TechPress blog and reading the articles and appreciating it. Since I have lauched the blog, I have received good feedback. Through TechPress Blog I create and share step by step setup guides, troubleshooting articles and trying to help everyone who are working on a number of technologies. Learning and Sharing is a motto of this site and I am learning new things everyday in IT and sharing the ones which are most relevant and tested. Recent Updates on TechPress blog TechPress – Forum is launched for discussion on a number of technologies and could help in troubleshooting …

Read more

How to show Terraform configuration in Visual Graphical representaton using Graphviz

Summary Terraform graph command is used to generate visual representation of either a configuration or execution plan. The command generates a DOT format Output. In the post we will see how to generate an image / nice graphical representation of Terraform resources and their dependencies using the DOT file we will generate. We will use Graphviz which is an open-source graph visualization software. I will not go in detail of the Terraform code and assume that you already have file along with other terraform code written in configuration files. As an example, i am using below terraform configuration file which i will use it to convert to a DOT …

Read more

How to remove a vertical line from Atom text Editor

While working with Atom text editor and writing your code, you may have seen a vertical line on the screen. It sometimes looks like there are multiple panes where there are difference workspaces but its part of the same code workspace area. If you want to get rid of this line and to make it less confusing when writing your code. You can follow the steps in this blog post to remove this line. Below is an example screenshot which shows a vertical line in this text editor: Disable the Vertical Line: Open Atom text Editor and go to File -> Settings or press Ctrl + , Click on Packages …

Read more

How to configure automatic Outlook Contacts Sync to Native Contacts App for iOS and Android devices using Microsoft Intune / Microsoft Endpoint Manager (MEM)

When you have a requirement where users are using their personal mobile devices to access the corporate emails and other Microsoft office apps. You want to make sure the data in these apps is secure and also prevent data leak. Application Protection Policies (APP) Policies can be applied to the users which protects your apps and data. App Protection Policies provides the option to Allow the contacts to be synced with the native apps. The setting is called “Sync policy managed app data with native apps“. By default this setting is set to “Allow”. Along with this setting, you will require an App configuration policy to save the contacts. Save …

Read more

How to show or hide indent dots – Visual Studio Code (VSCode)

While writing a code using VSCode, there are lots of settings to configure to make it easy for the programmers to write the code faster and make it readable. Indentation is a must in every code you write to make the code readable. Using VSCode settings (Shortcut: Ctrl + ,) you can adjust the Indentation Tab Size. Now, Lets see how we can toggle indent dots in the code. Without Indent Dots: With Indent Dots: To Toggle between Indent dots and without dots:

Cisco anyconnect VPN Error – Repairing VPN Adaptor / VPN Client drive encountered an error. Please restart your computer or device, then try again

Cisco anyconnect Logo

Cisco anyconnect is an application used for Point to site VPN Connection. Which means that this application is used to establish a VPN connection from a remote machine to the Cisco Device which further provides a secure end to end encrypted connection to the internal office network. The application needs to be installed on the system and user then types the VPN server address, username and password + 2FA (Two Factor Authentication, if configured) and establishes a connection provided authentication is successful. After user enters username and password it tries to establish VPN session, you get an error “Repairing VPN adaptor…” and it eventually fails to connect. Below are the …

Read more

How to deploy desktop wallpaper and lock screen image to domain joined windows 10 laptops using GPO – For PCs connected via VPN and also for PCs in office LAN

Requirement I got a request from client to deploy their organization wallpaper and lock screen image across all the domain joined workstations. Domain joined workstations also include the laptops which are not in office but connect via VPN. I have created one GPO which covers both the scenarios. Its a tested policy which is working fine on the target systems / users. Let me share the policy details which can save some time for you if you get a similar request. For Domain joined PC’s which are not in the office and connect occasionally via VPN –> I have used wallpaper.bat file which is copied on users desktop and i …

Read more

How to Uninstall different versions of WinZip software installed on Windows 10 system using Microsoft Intune

Requirement: I got the requirement from one of our client to uninstall WinZip software from all users PCs. There were different versions of WinZip installed on the systems. I have targeted WinZip 24.0.14033 and WinZip 24.0.13650 and i will show you how to uninstall these two versions by creating MS Intune Windows App (Win32) App Package. I will also show you how you can uninstall WinZip versions other than the one’s given above. Let’s start —> Check the WinZip software version on target machine on which you want to remove the software and try to find the WinZip MSI file matching this version number. If you are unable to find …

Read more

Deploy and manage custom favorites to Microsoft Edge on Windows 10 devices using Microsoft Intune

First step is to create favorites in below format. You can customize it as per your requirement to include Intranet Pages or Internal Web Portal URL. Below favorites text format will be used when you will create a Policy to configure Favorites for Microsoft Edge. Please make sure URL and name is in quotes. You can simply copy below text and modify as per your need. Change the toplevel_name value to change the Root Level Folder Name which contains all the favorites. Once you have created favorites in a text file in above format. We will now proceed on configuring it / Pushing it to users workstations. Login on Microsoft …

Read more