A foreign object cache drop-in was found. To use Redis for object caching, please enable the drop-in.

Overview Recently I got this error message when I updated Redis Object Cache wordpress plugin on my site. As soon as I enabled Redis Object Cache, I got the error message: “There has been a critical error on your website. Please check your site admin email inbox for instructions.” “A foreign object cache drop-in was found. To use Redis for object caching, please enable the drop-in.” You can try to deactivate redis object cache plugin or delete it completely and then re-install it to check if it fixes your issue. Try to Flush Redis Object Cache as well if the wordpress redis object cache plugin allows. If you are using Ubuntu server where you …

Read more

Block USB drives with Exceptions using Microsoft Intune

Block USB drives with Exceptions using Microsoft Intune

You can easily block USB drive on all Intune managed corporate devices by creating a Policy on Microsoft Endpoint Manager Admin Center. There are different ways to create a policy to block USB drive or removable storage device. Blocking of USB drive access is must for every organization as it can save the organization from data leak. In Today’s world, users are using BYOD devices or a device provided by your company. In either case, if users are accessing any confidential information from the device which can be saved and then copied to your external storage then it could be a security breach event. To prevent this security breach, use …

Read more

Unable to get AAD authorization token with message: Please run ‘az login’ to setup account

When you are trying to authenticate with Azure container registry using sudo az acr login command, you may receive below error message: linuxusr@dockerhostvm01:~$ sudo az acr login –name acr001Unable to get AAD authorization tokens with message: Please run ‘az login’ to setup account.Unable to get admin user credentials with message: Please run ‘az login’ to setup account. Error response from daemon: Get “https://acr001.azurecr.io/v2/”: unauthorized: aad access token with sp failed client id must be guidLogin failed. linuxusr@dockerhostvm01:~$ az loginTo sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code C64UXJA9T to authenticate.[{“cloudName”: “AzureCloud”,“homeTenantId”: “*****-8dab-4122-****-caadf41b**”,“id”: “***2b17-4f6e-8b*****28cc**”,“isDefault”: true,“managedByTenants”: [],“name”: “subscription0001”,“state”: “Enabled”,“tenantId”: “*****-8dab-*****-caadf41b64d7”,“user”: {“name”: “xyz@xyz.net”,“type”: “user”}}] linuxusr@dockerhostvm01:~$ sudo …

Read more

How to create a shared channel in Microsoft Teams and configure B2B direct connect

create a shared channel in Microsoft Teams and configure B2B direct connect

Overview Shared Channels are part of Microsoft Teams Connect and is still in public preview. To be able to create and use shared channels you will need to Enable Microsoft Teams Public / Developer preview. Some Important Points about Shared Channels Using shared channels you can invite people outside of your organization by using Azure AD B2B direct connect. Shared channels are enabled by default but can be disabled by Editing Teams Policies via Microsoft Teams Admin Center. Guest accounts cannot be added to the Shared Channels. Shared Channels cannot be converted to Standard Channels. As Shared channels are still in public preview, Microsoft Teams Public Preview needs to be …

Read more

How to enable Developer preview and Public Preview in Microsoft Teams

Public Preview and Developer preview provides early access to unreleased features in Microsoft Teams. You can test new features before it becomes general availability (GA) and analyse it to see if the new features will be useful for the organization. Preview feature can be enabled per Team user or for the whole organization. You can use Teams Update policies for enabling the preview feature setting. Its best if you create a separate Teams update policy and apply it to few users who will be testing the new features for example IT Administrators. You can enable the preview version of Microsoft Teams by Launching Microsoft Teams Client –> Click on three …

Read more

Could not find the recovery environment – Windows 11 Reset PC

Could not find the recovery environment

I recently tried to Reset my Windows 11 PC by clicking on to Settings -> System -> Recovery -> Reset PC button but it failed and displayed an error message “Could not find the recovery environment” Insert your Windows installation or recovery media, and restart your PC with the media. The error message pop-up window is shown in below screenshot for your reference. There could be several reasons why your PC’s windows recovery environment is not available for example if windows recovery environment is corrupted or your PC could be a hit by a virus which has made a lot of changes on your PC including disabling your abillity to …

Read more

Email Migration from GoDaddy to Microsoft 365 using Bittitan Migrationwiz (Step-by-Step)

Email Migration from GoDaddy to Microsoft 365 using Bittitan Migrationwiz

Overview In this blog post, we will see how to migrate all mailboxes from GoDaddy to Microsoft 365. GoDaddy provides Domain Registration and DNS services but in addition to that you can also get Email services that creates user mailboxes. You can choose from the available Email Plans like Email essentials or Email Plus or Business Premium. These plans differ in the email storage / one drive storage / ability to download and install microsoft office on different PC’s. About this Blog Post Most of the steps in this blog post will be applicable even if you are migrating emails from any other email service provider for example gmail, microsoft …

Read more

How to reset / reconfigure Microsoft Outlook mail profile for Microsoft 365 / Exchange Online

Reset Outlook Mail Profile

Overview There could be several reasons for recreating or resetting an outlook mail profile. Reseting a Mail Profile sometimes fixes a lot of Outlook related issues like slowness in sending and receiving emails, corruption of the mail profile, Global address book (GAL) Issues, Calendar sync issues etc. As all email items reside on the server for example Microsoft 365, there is no impact on the emails if you reset Outlook mail profile on your PC. Creating mail profile is a way to re-download all the emails in a new outlook profile. The emails are downloaded in a file with a extenstion .ost (Outlook Data File). In the next sections, we …

Read more

How to Fix error Connect-PnPOnline: The user or administrator has not consented to use the application with ID ‘31359c7f-bd7e-475c-86db-fdb8c937548e

Recently I tried to connect to Sharepoint online using Connect-PnPOnline cmdlet and received below error message. In this blog post, we will see alternative ways to connect using this command which utilized interactive login methods. In below screenshot, you can see the command along with the error message. Error Message Connect-PnPOnline : AADSTS65001: The user or administrator has not consented to use the application with ID ‘31359c7f-bd7e-475c-86db-fdb8c937548e’named ‘PnP Management Shell’. Send an interactive authorization request for this user and resource.Trace ID: c6548a52-81bf-4d6d-bf7e-68bb179b6700Correlation ID: 6f4ad9fb-531a-40cc-ac20-5da83021e3cfTimestamp: 2021-12-21 13:17:34ZAt line:1 char:1Connect-PnPOnline -Url https://techpress-admin.sharepoint.com/~~~~~~~~~~~~~ CategoryInfo : NotSpecified: (:) [Connect-PnPOnline], MsalUiRequiredExceptionFullyQualifiedErrorId : Microsoft.Identity.Client.MsalUiRequiredException,PnP.PowerShell.Commands.Base.ConnectOnline Other Sharepoint Online related articles on Techpress: How To Add An Azure …

Read more

How to add an Azure AD Security Group to Sharepoint Online Teams site and configure site permissions

Create a Sharepoint Teams Site A Teams site can be created to collaborate with other team members, share documents with each other and to work on a specific project. I recently created few microsoft teams sites on Sharepoint Online and my requirement is to create an Azure Active Directory Security Group and provide Edit permissions to this AD group. You can also provide different permissions like Read, Full Control etc. In this blog post, I will be assigning Edit Permissions to a Azure AD security Group MyTeam_01 on a Sharepoint Online Teams Site TestSite01. Creating a Teams site is super easy. Login on Microsoft 365 admin center using Global Administrator …

Read more

Mimecast Directory Sync Error – ERROR|Connection Error – Error opening file of directory data (using connection – Azure AD Directory Sync)

Mimecast Directory Sync Error - ERROR

MIMECAST DIRECTORY SYNCHRONIZATION ERRORS ✅ Fix Errors between Azure Active Directory and Mimecast. ✅ Connection Error – Error opening file of directory data (using connection – Azure AD Directory Sync). To Start the Directory Synchronization. Login on Mimecast Admin Portal and click on Administration -> Services and then click on Directory Synchronization. Below Directory connector is created to Sync users from Azure Active Directory to Mimecast. If you already have a connector for Directory Sync then you can click on Sync Directory Data to start the sync process. Once you click on it you will either get a message Summary of Directory Sync or you will get error messages. In …

Read more

DNS Aging and Scavenging – Explained (Step-by-Step guide)

DNS Scavenging

DNS Aging and Scavenging DNS Aging DNS Aging is a process of identifying the stale resource records from the DNS Server. Stale resource records create issues in the name resolution (by creating duplicate DNS records), unnecessary space utilization, degradation of the DNS server performance. It keeps track of the time stamps of the individual resource records (RR). From last time stamp of the resource record to the current time of the server is considered as the age of the resource record. The value we get is used for Scavenging Operation which deletes / removes / cleans up the resource-record from the DNS Server. DNS Scavenging DNS Scavenging is a recurring …

Read more

How to fix Error 0x800f0830 – 0x20003 and The PC doesn’t meet the minimum system requirements to install Windows 11

0x800f0830 - 0x20003

FIX BELOW ERRORS DURING WINDOWS 11 INSTALLATION ✅ The PC doesn’t meet the minimum system requirements to install Windows 11. ✅ “We couldn’t install Windows 11” We’ve set your PC back to the way it was right before you started installing Windows 11. 0x800F0830 – 0x2003 The Installation failed in the SAFE_OS phase with an error during INSTALL_UPDATES operation. Recently I have tried to upgrade my Windows 10 Home PC to Windows 11 Home. I have spent a lot of time and effort trying to fix the error 0x800f0830 – 0x20003. I have tried the installation / upgrade couple of times on both of my laptops and was getting this …

Read more

How to Install Windows Package Manager (winget) and Search, Install, Upgrade, Uninstall Apps on Windows 10 using winget

Windows Package Manager

Overview Windows Package Manager or winget is a command-line tool which we can use to search, Install, upgrade, uninstall and configure applications on windows 10 systems. In this blog post, we will look at how to install Windows Package Manager and then see useful commands / switches which can be used with winget. Install Windows Package Manager There are different ways to install Windows Package Manager / winget Command Line Tool which are listed below: Winget tool is included in Windows App Installer. You can get it from Microsoft Store using this link: Windows App Installer. Once you click on Get, It will launch local Microsoft Store app. Click on …

Read more

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

microsoft 365 groups

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 New Categories – DevOps -> Terraform category is added. New Categories – Microsoft 365 -> Sharepoint Online …

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 main.tf 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

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: Also Read: How to show Terraform configuration in Visual Graphical representaton using Graphviz Disable the Vertical Line: Open Atom text Editor and …

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)

Outlook Contacts Sync to Native Contacts App

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)

How to show or hide indent dots 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. Related: How to remove a vertical line from Atom text Editor Without Indent Dots: As you can see there are no indent dots in below screenshot. We will see how to enable this option in VSCode. With Indent Dots: With Indent …

Read more

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

Cisco Anyconnect VPN Error

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. Some other useful Articles: How to Recover Password of Cisco Switch 2960 (Step-by-Step Guide). How to Recover enable password / enable secret of Cisco Router. After user enters …

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

Uninstall Winzip 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. Related: Set Microsoft Edge Home Page, Startup Page And New Tab Page Using Microsoft Intune Related: Set Microsoft Edge As Default Browser Using Microsoft Intune Change the toplevel_name value to change the Root Level Folder Name which contains all the favorites. Once you have …

Read more

How to unjoin a Hybrid Azure AD joined device

How to Unjoin Hybrid Azure AD joined device

Background: Recently I came across an issue where a Citrix VDA’s version 1912 CU2 was joined to Azure as Hybrid Azure AD Join Device which was not allowing users to launch applications. As soon as someone would launch an application, VDA state was getting changed to Unregistered state. We have used Azure AD Connect Wizard to configure all domain joined devices to join to Azure AD which will make them Hybrid Azure AD joined device on Azure. After spending hours to investigate on this issue and also rebuilding the Citrix VDA’s. This issue was persistent. We have decided to remove Citrix servers from azure active directory to fix this issue. …

Read more