User Profile
ShaikhRA
Brass Contributor
Joined Jul 18, 2018
User Widgets
Recent Discussions
Re: New tenant and domain classed as phishing
You too have a Merry Christmas and Happy New Year. If the problem persists, check content and signature in the emails. If the signature has hyperlinks, you may get a higher SCL score. Try removing the signature and see if it helps.4.5KViews0likes0CommentsPowerShell script to search for and delete email messages
The script is based on Microsoft article https://docs.microsoft.com/en-us/microsoft-365/compliance/search-for-and-delete-messages-in-your-organization?view=o365-worldwide It tries to combine all steps at one place. It helps in a scenario wherein you want to delete e.g. a phishing email from user mailboxes. Please note that the script hard deletes the emails. If you want to soft delete the emails, you need to change -PurgeType parameter to SoftDelete. Please do share your feedback and suggestions. ##Please note that the script has been provided As Is. Test and use at your own risk. Write-Host “The script finds and deletes unwanted such as a malicious email from user mailboxes. Please make sure that you have at least ‘Compliance Search’ and ‘Search And Purge’ roles assigned in Security & Compliance Center. A maximum of 10 items per mailbox can be removed at one time.” -ForegroundColor Yellow ##Importing modules if not already imported $AlreadyImportedModules = Get-Module $ModulesToCheck = @(“ExchangeOnlineManagement”) ForEach($i in $ModulesToCheck){ If($AlreadyImportedModules.Name -notcontains $i){ Import-Module $i } } ##Connecting to Security & Compliance Center Connect-IPPSSession ##Finding the email $Name = Read-Host “Please give a name to the search” $ExchangeLocation = Read-Host “Please specify All to search all mailboxes. To specify particular mailboxes or distribution groups, specify their email address separated by comma” $ExchangeLocation2 = $ExchangeLocation.Split(“,”).Trim() $ContentMatchQuery = Read-Host “Please specify content search query in the format: (From:Email address removed) AND (Received:12/14/2021..12/15/2021) AND (Subject:”Phishing Email”)” $Name2 = $Name + “_purge” New-ComplianceSearch -Name $Name -ExchangeLocation $ExchangeLocation2 -ContentMatchQuery $ContentMatchQuery | Out-Null Start-ComplianceSearch $Name | Out-Null While((Get-ComplianceSearch $Name).Status -ne “Completed”){ Write-Host “Waiting for 2 minutes for the search to complete….” -ForegroundColor Yellow Start-Sleep -Seconds 120 } Get-ComplianceSearch $Name | FL Name,Status,ExchangeLocation,PublicFolderLocation,ContentMatchQuery,Items,Errors,NumFailedSources,@{Name=”Non0Results”;Expression={(Get-ComplianceSearch $Name).SuccessResults -Split “`n” -NotLike “item count: 0“}} Read-Host “Please verify the search results above. Press Enter to hard delete the email or Ctrl+C to exit” ##Deleting the email New-ComplianceSearchAction -SearchName $Name -Purge -PurgeType HardDelete -Confirm:$False | Out-Null While((Get-ComplianceSearchAction $Name2).Status -ne “Completed”){ Write-Host “Waiting for 2 minutes for the delete action to complete….” -ForegroundColor Yellow Start-Sleep -Seconds 120 } Write-Host “The final delete action results are as following:” -ForegroundColor Yellow Get-ComplianceSearchAction $Name2 | FL SearchName,Status,Errors,Results21KViews2likes0CommentsRe: New tenant and domain classed as phishing
It appears that you have already published the SPF record. However, I was unable to find CNAMEs required for DKIM. You can follow https://docs.microsoft.com/en-us/microsoft-365/security/office-365-security/use-dkim-to-validate-outbound-email?view=o365-worldwide to configure DKIM. After that you can configure DMARC as well by following https://docs.microsoft.com/en-us/microsoft-365/security/office-365-security/use-dmarc-to-validate-email?view=o365-worldwide SPF, DKIM, and DMARC will help in deliverability of the emails.4.6KViews0likes4CommentsRe: Calender reminders will not clear
It just clears and regenerates reminders. It should not cause any issues. You can refer to https://support.microsoft.com/en-us/office/command-line-switches-for-microsoft-office-products-079164cd-4ef5-4178-b235-441737deb3a6#Category=Outlook for more information. It should fix the issue, however, if the issue persists, try solution 3 given at https://docs.microsoft.com/en-us/exchange/troubleshoot/calendars/cannot-dismiss-outlook-calendar-reminders. If solution 3 doesn't help, you can go for solution 2 if you are comfortable with it.2KViews0likes1CommentRe: Calender reminders will not clear
Try dismissing the reminders from webmail at https://outlook.office.com/mail/inbox If it doesn't work, close Outlook, go to Run, copy and paste outlook.exe /cleanreminders, and run it. Outlook will open, see if the issue persists. If it does, do you have Outlook running on multiple machines?1.8KViews0likes3CommentsRe: Verbundvertrauensstellung - Organisationsfreigabe - OnPremise - M365
Is the primary SMTP address same for both companies? Where is the autodiscover pointing to for each company? What error do you see in the free-busy test at https://testconnectivity.microsoft.com/tests/FreeBusy/input1.5KViews0likes1CommentRe: Is there an at-a-glance way of determining if employees are working remote or in-the-office?
Did you try using the 'Set status messsage' in Teams? If it works for you then I believe only Teams has to be used to see the status message. It appears that Microsoft Graph API doesn't allow to programmatically view the status message yet: https://docs.microsoft.com/en-us/graph/api/presence-get?view=graph-rest-1.0&tabs=http An easy workaround I can think of is to use a shared calendar.4.1KViews0likes0CommentsRe: Eliminar caracteres <> en destinatario
I believe the display name issue is related to the remote domains configuration. Please check it by running: Get-RemoteDomain | FL Name,DisplaySenderName If DisplaySenderName is True, the emails sent out to external users will appear with DisplayName instead of the sender's' email address. However, I believe it should not cause any TLS 1.2 related issues.687Views0likes0Comments
Recent Blog Articles
No content to show