Monday 30 November 2020

Unable to connect Microsoft Teams with powershell with MFA enabled user

Issue:

while trying to connect Microsoft Teams with MFA enabled user through powershell. 

Getting the following error in powershell.


"Connect-MicrosoftTeams : One or more errors occurred.: AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access '00000002-0000-0000-c000-000000000000'"  

Solution:

There may be multiple solutions but one is to user the Connect-MicrosoftTeams without -Credential parameter as below.

Import-Module MicrosoftTeams

Connect-MicrosoftTeams

Tuesday 24 November 2020

Addresslist and resource mailboxes in exchange 2016 and exchange online Hybrid environment


Requirement:

In Hybrid environment to create an address list and add resource/Room mailboxes, should be visible/available to both on premise and cloud users in their address book.

Issue:

A single address list (created on premise OR on exchange online) would not be enough. as if created on exchange on premise then will be only visible to on premise users 

OR

if created on Exchange online then will be only visible to Exchange online users.

Same is the case with resource/room mailboxes, if created on exchange on premise then will be only visible to on premise users OR if created on Exchange online then will be only visible to Exchange online.

Solution:

i had to create 2 address lists with the same name, one on Exchange on premise and one on Exchange online.

the case with room/resource mailboxes was a bit change, even that the on premise room mailboxes were not appearing to the cloud users in their address book but while scheduling the meeting they were able to see the free/busy of  the on premise resource/room mailboxes.

same was the case with exchange online migrated room mailboxes,  were not appearing to the on premise users in their address book but while scheduling the meeting they were visible and their free/busy were also appearing to the on premise users.

An email was getting quarantined even the sender was whitelisted through office 365 rule

An email was getting quarantined even the sender was whitelisted through office 365 rule.

After looking into the header of the quarantined email found the "SFV:BLK" which means the sender was blocked by the recipient as per (Anti-spam message headers - Office 365 | Microsoft Docs).

So when to the effected user outlook and then 

on the Home tab, then "Junk Email Options" then "Blocked senders" tab, the quarantined email sender was added there. so after removing from there, next time the email was not quarantined and was successfully delivered.