Add a custom domain to Office 365

To add a custom domain to Office 365, you need to first verify that you own the domain. This is usually done by adding a specific record to your domain’s DNS records. Once you have verified your domain, you can then add it to your Office 365 account and set […]

Find and modify domain accounts with non-expiring passwords (PowerShell)

To find all the accounts with non-expiring passwords, run the following cmdlet in PowerShell: Get-ADUser -Filter {Enabled -eq $true -and PasswordNeverExpires -eq $true} To enable password expiration for the accounts that were found from the above cmdlet, run the following in PowerShell: Get-ADUser -Filter {Enabled -eq $true -and PasswordNeverExpires -eq […]

Deploy Azure AD Smart Lockout

Azure AD Smart Lockout can lock out bad actors who are trying to guess your users’ passwords or use brute-force methods to get users’ credentials. How to deploy Azure AD Smart Lockout: Go to https://aad.portal.azure.com, select Azure Active Directory, and then Security: And Password protection: Click on Password protection. After, […]

Configure Office 365 MFA

STEP 1: Login to portal.office.com as a Global admin Then click on Admin. STEP 2: Click on Users and then Active users STEP 3: And then click on the Multi-factor authentication: STEP 4: This tab will appear. Before enabling the MFA, service settings must be configured. Select service settings. STEP […]

PC cannot join domain

Start, Run, write regedit, ENTER. Lookup this subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters Locate AllowSingleLabelDnsDomain. If the key AllowSingleLabelDnsDomain does not exist: Edit, New, DWORD. Write AllowSingleLabelDnsDomain as key name, and ENTER. Double-click AllowSingleLabelDnsDomain. Set the Value to 1. Exit regedit Try to join the domain

Commands to diagnose Active Directory replication failures

The below command will perform a series of tests (for DC Health) and export the results in c:\dcdiag.txt dcdiag /v /c /d /e /s:nup-dc1 >c:\dcdiag.txt Then run the below command to see the last attempt of the DC to perform inbound replication. repadmin /showrepl nup-dc01 /verbose /all /intersite >c:\repl.txt  

Enable Teams cloud recording

Turn on or turn off cloud recording through the meeting policy in the tenant. In the Microsoft Teams admin center, turn on or turn off the Cloud recording setting in the meeting policy:

How to export PST from Microsoft 365

To export PST from M365 the below steps must be followed: Give role permission Search account Create pst Download pst Give permission Enter Microsoft 365 compliance Permissions Compliance center roles eDiscovery Manager add export Edit eDiscovery Administrator to add member (if is not working, remove Admin and add Manager, wait […]