How to Search Emails with PowerShell
ALI TAJRAN Blog
by ALI TAJRAN
1w ago
An excellent method to search for messages in Exchange Online mailboxes is with PowerShell. You can tweak the commands to your liking and get the results you need. Also, an export of the results to CSV file is great, so you can filter in there. In this article, you will learn how to search emails with PowerShell. Table of contents Install Microsoft Graph PowerShell Configure app registration in Microsoft Entra 1. Register new application 2. Assign API permissions 3. Grant admin consent 4. Create Client Secret Connect to Microsoft Graph PowerShell with Client Secret Search emails on specifi ..read more
Visit website
Mailbox Replication Service was unable to connect to the remote server
ALI TAJRAN Blog
by ALI TAJRAN
3w ago
We are migrating the on-premises mailbox to Exchange Online in Microsoft 365. However, the mailbox migration shows the error: The Mailbox Replication Service was unable to connect to the remote server using the credentials provided. Please check the credentials and try again. The remote server returned an error: (401) Unauthorized. In this article, you will learn why this is happening and the solution. Table of contents Error: Mailbox Replication Service was unable to connect to the remote server Fix Mailbox Replication Service was unable to connect to the remote server Reset on-premises mig ..read more
Visit website
How to Restore deleted Microsoft 365 Hybrid user
ALI TAJRAN Blog
by ALI TAJRAN
1M ago
You have to restore a deleted user from the Hybrid environment. The user used to have an account on-premises with an Exchange Online mailbox. So how does a user account restore that was synced from AD on-premises to Microsoft 365 take place? In this article, you will learn how to restore a deleted Microsoft 365 Hybrid user. Table of contents Check deleted account in Microsoft 365 Restore deleted Microsoft 365 hybrid user Step 1. Restore AD object from Active Directory Recycle Bin Step 2. Sync user to Microsoft 365 Step 3. Check user account in Microsoft 365 Step 4. Verify user sign-in access ..read more
Visit website
Fix PackageManagementInstall-Package : No match was found for the specified search criteria and module name
ALI TAJRAN Blog
by ALI TAJRAN
1M ago
When we try to install a PowerShell module on the system, an error appears that no match was found for the specified search criteria and module name. It doesn’t matter which module we want to install; the same error appears. In this article, you will learn how to fix the error PackageManagement\Install-Package : No match was found for the specified search criteria and module name. Table of contents Solution for Install-Package : No match was found for the specified search criteria 1. Enable TLS 1.2 2. Unregister PSGallery 3. Register PSGallery 4. Verify PSGallery Conclusion Solution for ..read more
Visit website
How to Extend Windows Server Evaluation Period
ALI TAJRAN Blog
by ALI TAJRAN
1M ago
You installed Windows Server Evaluation and are testing it out. The days start counting from the initial 180 days, and you need to activate it with a license key. However, you can extend it 6 times and use a trial for 3 years. In this article, you will learn how to extend the Windows Server Evaluation period. Table of contents Check Windows Server activation expiration Extend Windows Server Evaluation Period Verify Windows Server activation expiration Conclusion Check Windows Server activation expiration Find the Windows Server edition in the right corner and the remaining days before the g ..read more
Visit website
How to Upgrade Windows Server Evaluation to Full Version
ALI TAJRAN Blog
by ALI TAJRAN
1M ago
You installed Windows Server Evaluation for evaluating, testing, or training purposes. Now you want to apply a license key, but it’s not activating, and an error appears. That’s because you have to convert from Evaluation to Full Version first. After that, you can insert your license key. In this article, you will learn how to upgrade from Windows Server Evaluation license to Full Version. Table of contents Find Windows Server edition Get Windows Server target editions Get Windows Server Generic Volume License Key (GVLK) Upgrade Windows Server Evaluation to Full Version Verify Windows Server ..read more
Visit website
How to Send email with PowerShell
ALI TAJRAN Blog
by ALI TAJRAN
1M ago
We are familiar with the Send-MailMessage cmdlet when sending emails via PowerShell. Unfortunately, the Send-MailMessage cmdlet is obsolete and not recommended for use anymore. So, what is the Send-MailMessage alternative? The answer is Send-MailKitMessage. In this article, you will learn how to send emails with PowerShell. Table of contents Send-MailMessage cmdlet is obsolete Configure SMTP relay Install Send-MailKitMessage module 1. Set Windows PowerShell Execution Policy 2. Install PowerShellGet module 3. Install Send-MailKitMessage module Send-MailKitMessage parameters Send email with ..read more
Visit website
How to Enable Active Directory Recycle Bin
ALI TAJRAN Blog
by ALI TAJRAN
1M ago
When you install Active Directory (AD DS role) and promote the server to a Domain Controller, the Active Directory Recycle Bin is not enabled by default. While this should be a must, unfortunately, it is not baked into the deployment. So, it’s always important to enable AD Recycle Bin on Windows Server after the setup. In this article, you will learn how to enable the Active Directory Recycle Bin. Table of contents Enable Active Directory Recycle Bin Enable Active Directory Recycle Bin with PowerShell Conclusion Enable Active Directory Recycle Bin Note: If you have multiple domain controlle ..read more
Visit website
Microsoft Entra Connect Sync 2.1.20.0 retiring
ALI TAJRAN Blog
by ALI TAJRAN
1M ago
Microsoft Entra Connect Sync 2.1.20.0 is retiring on 19 June 2024. If you run a retired version of Microsoft Entra Connect Sync, it will unexpectedly stop working. So upgrade to the latest Microsoft Entra Connect Sync version as soon as possible. It’s an easy in-place upgrade, and we covered everything step by step. Table of contents Microsoft Entra Connect Sync Find Microsoft Entra Connect Sync version Upgrade Microsoft Entra Connect Sync to latest version Conclusion Microsoft Entra Connect Sync Are you new to Microsoft Entra Connect Sync? Learn more on how to install and configure Microso ..read more
Visit website
Configure Hybrid Modern Authentication in Exchange on-premises
ALI TAJRAN Blog
by ALI TAJRAN
2M ago
How to enable Hybrid Modern Authentication (HMA) in Exchange Server on-premises? We want to secure the Exchange on-premises organization with modern authentication instead of basic authentication. This way, we can use MFA for on-premises user mailboxes and not only for user mailboxes in the cloud. In this article, you will learn how to configure Hybrid Modern Authentication step by step in Exchange on-premises. Table of contents Introduction Hybrid Modern Authentication prerequisites Hybrid Modern Authentication diagram Advantages of modern authentication How to configure Hybrid Modern Authen ..read more
Visit website

Follow ALI TAJRAN Blog on FeedSpot

Continue with Google
Continue with Apple
OR