How to quickly find the Group ID of a Teams group.

To manage the Teams group in Powershell, the group id is the most easy attribute to manage the group. But at the same time, it is bit cumbersome to to get the group id. I was looking for a quick way to get this attribute and noticed that it can be found easily without connecting to teams Powershell.

. Open Teams admin center.

. Go to Teams and search for the group you are looking for.

. Open n the properties of the group.

. The group id is shown at the end of URL in the browser.

Respect & Appreication

Leadership is not just managing resources. It also involves communicating, inspiring, and supervising to be a successful leader.

I do accept that I am not the most talented person in this IT world but I do my job honestly and with complete dedication. I also accept the fact that sometimes I slip but those instances are very rare.

I’d never considered my job as a job. Troubleshooting, fixing issue and implementing new ideas are my passion. Working in this team and for this organization is an honor for me.

I feel great when a user says “thanks for your help” or this

. This keeps me going.

But it breaks the heart when I am told “It is all your fault. you are no good and you should be fired right away”, when working on a P1 issue. Sorry, it was not my fault. I was trying to help someone to fix their issue.

You do not appreciate me for the jobs well done, taken, but please please do not insult, threaten and intimidate me. No award or reward can compensate the emotional pain and mental agony a person goes through when he/she does not feel valued and respected. Treat your employees as your colleagues not just as workers.

Thanks. Happy weekend.

Microsoft Teams meeting attendees report

Since the inception of Microsoft Teams, almost all users were either requesting Microsoft using “User Voice” or waiting for Microsoft to enable Meeting organizers to view or export a list of attendees, including enter and exit times, duration, etc.

Though it took a very long time but on 19th May 2020, Microsoft announced that they enabled download of a meeting attendance list during a meeting. The report can be downloaded only by the organizer of the meeting and not by attendees.

The work is in progress on enabling download after a meeting has concluded.

This feature is disabled by default and needs to be enabled via admin policy.

How to enable the attendee report feature in Meeting policy?

Currently only PowerShell can be used to modify this setting.

Set-CsTeamsMeetingPolicy cmdlet can be used to edit the existing meeting policy or New-CsTeamsMeetingPolicy can be used to create a new Teams meeting policy and assign it to users.

Below is the command to edit the existing meeting policy to enable this feature.

Set-CsTeamsMeetingPolicy -identity “Meeting Policy Name”-AllowEngagementReport $true

This is a per-user policy and can be selectively assigned to users.

How to download the Meeting attendee report

The organizer of the Teams Meeting can save a record of who has attended the meeting by following below steps:

a. During the meeting, select Show Participants and choose Download attendee list.

Download attendee report

b. The report will be downloaded as .CSV file. The file contains the name, join time, and leave time of all meeting attendees.

Note: The attendance report can only be downloaded while the meeting is in progress and participants are still present.

My current mental state

खुद को ढूंढ़ने निकलता हूँ रोज़,
उन्हीं पुरानी गलियों में,
मगर ना जाने क्यों खुद की ही भूल भुलैया में फंस जाता हूँ,
ना जानें क्यों इतना मुश्किल सा लगता है खुद को ढूंढ़ना,
इतनी दफा उन गलियों से निकलने के बावजूद भी,
ना जाने आखिर कयूँ गुम हो जाता हूँ,
अपनी ही बनाई हुई उन गलियों में,
उन चौराहो पे,
उन मोहल्लो में,
ना जाने क्यों,
बस खुद को भटकता पाते ही,
डर सा जाता हूँ ,
सहम सा जाता हूँ,
खुद को कोसता हूँ, इस भूल भुलैया में घुसने के लिए.

Credit to anonymous

Sad..disappointed, disheartened…..

From last few days, I was reading and following the news of lay offs in some organizations. I have few friends who are working with this IT giant or shall I say was working with this IT giant. I never wanted to call them to ask if they are also affected by this turmoil but could not hold myself. Spoke with one of my very good friend who was also my mentor in my first job. We had spent few good years working together for two organizations before we moved on in our career.

When I called him today, I was praying to God that please keep his job safe. But no…he has been laid off..could not control my tears..why..why God..

He comes from a very humble background. Has struggled a lot to grow in life. I’ve seen his low and was part of his high times…We had shared our sorrows, pains and good times. Why..why he or why anyone..

Long back I was listening to a speaker in some seminar on emotional quotient and he had said “A man is shattered by two tragedies –one loosing spouse and the other is loosing Job..

Everyday when I wake up, I pray to god to keep my family and dear ones safe, sound and healthy.

Now as the emotions are bit low..I am pondering “is this what we deserve”..We compromise on our personal life, sacrifice our happiness to keep our clients happy. We forget or we don’t get time to call our family but never fails to dial in a conference call. We loose sleep to make sure that servers are up and running but if our kid is not keeping well, we may not get a day off to take him/her to doctor..

will come back to this…right now.. all the best my friend..

Have you ever ignored a message in outlook?

Few days back, I got a call from one of my local IT engineer friend to help on a tricky issue. He mentioned that for one of the user, emails with an identical subject line moves directly to Deleted items folder irrespective of internal or external sender.

My first suggestion was to check if there is a rule but as expected, the answer was “no rules”. I double verified it from exchange PowerShell and he was true –no rules.

I had seen such issues earlier and most of the time corruption in rules caused this and MFCMAPI had helped in almost all cases to remove the corrupt rules. But this time as there was no rule at all, MFCMAPI also could not help L

Then, I started analysing those emails. While looking at those emails in Deleted items folder, I noticed that “Ignore” menu is highlighted for those messages but not for other messages…next question, why is this and what is this “ignore” thingy…

As per MS “Ignore Conversation removes all messages related to the conversation that you select, and moves future messages in the conversation directly to your Deleted Items folder.”.

That was it…User has accidently selected “ignore” option instead of delete option and as designed, all future messages in that conversation was moving directly to Deleted Items folder.

Ok..symptom and cause understood but how to stop it…simple…go to Deleted Items folder, select any message in that conversation. You will see that Ignore option is highlighted if the conversation was ignored earlier.

Click on the ignore button and there will be a message popping up


Select Stop Ignoring Conversation.  As mentioned, future messages will not be moved to Deleted items folder and all ignore messages will be moved to inbox folder.

Though this ignore option is helpful if we need to stop a particular conversation coming to inbox but it should be named something like “Delete Conversation” as it does exactly that…





MSExchange Tranpsort service stuck on “Starting”.

MSExchange Tranpsort service stuck on “Starting”.

Yesterday while monitoring my email servers (we have configured a live monitoring using SCOM) on Live MAP, the primary hub server alerted on the number of emails stuck in “submission” queue. I quickly logged on to the server and found that submission queue is increasing rapidly. As this server is one of the 2 servers to accept incoming emails from internet and also for outgoing, the queue was growing very rapidly.

Checked the event logs and the first event which caught my attention was “Database corruption”. Oh no…long long ago this used to be a normal issue but I don’t remember when was the last time I worked on a corrupted database.



The logs also showed that Transport service process was crashing continuously


As the users had already started complaining about emails not reaching to recipients, we had a little time to fix this issue and business demanded to restore the services at the earliest.


How we fixed it:

The toughest part was to get any change request approved as environment being under change freeze period. As the first priority was to establish the mail flow, we chalked out the plan to provide alternate path for incoming emails and remove this server from outgoing connector. The second part was easy, removed the server from Send Connectors. For the first part, we borrowed an unused IP address and assigned it to this problematic server. Then we assigned the original IP of this server to another Hub server as a secondary address. Once  the replication was done in DNS, the incoming emails started flowing through this server. Return to original issue…

The submission queue was showing 1700+ emails. We decided to follow the well laid path..recycle the service. Voila…the service stuck on “Starting”…waited for a while expecting that it would start. Checked the events …logs are replaying…waiting…process crashed. Phewww

Team huddle…decided to kill the transport process and then reboot the box…done…No luck…

Time for some real stuff. Thanks to my Exchange Guru and God : Ashley …..

Though the email queue database extension is .que, the underlying functionality is still like normal exchange database (.edb)

Used the old friendly utility and found that database is in “Dirty shutdown” state.

Command: eseutil /mh “D:\Exchange Server\Queue\Database\mail.que”

Output: Cropped for better readability

          State: Dirty Shutdown

     Log Required: 6525364-6525463 (0x6391b4-0x639217)

Checked the Log folder and fortunately all the required log files were present..(Mail queue database uses circular logging by default)

Though a simple option was to kill the transport service and rename the Queue folder and start the service again. This will create a new database and the issue could have been fixed easily but we would have lost those 1700+ emails. So this option was rejected.

At this point, we decided to perform recovery of the database.


  1. Disabled the Transport service and restarted the server.
  2. Copied the complete Queue database to a different drive – for safe keeping.
  3. Ran the below command

Eseutil /r trn /l “D:\Exchange Server\Queue\Logs” /d “D:\Exchange Server\Queue\Database”

The process took some time as the database size was big but completed successfully. Checked the state of the database again and ah…”Clean shutdown”

  1. Started the transport service and this time it started successfully.
  2. As it was a recovered database, we decided to flush all the emails and then create a new database. So, paused the service again and let the queue clear.
  3. Once the queue was clear, stopped the service, renamed the queue folder and started the service again. A new queue database was created.
  4. Checked the queue status – All healthy
  5. Swapped the IP which was changed earlier to restore the original mail route and added the server again to connectors.

A good learning…Special thanks to my Lead “Ashley” are genius…always…not sometimes J










The Active Sync Device cannot be found :)

Sometimes it seems like, people are waiting to come online on communicator. I plugged in my laptop and picked the cup to fetch hot water to prepare my daily dose of green tea, and one of the site in-charge pings me for an active sync device issue. I politely informed that I need some time to get settled but he was insistent to fix the issue right at the moment. Ok..whats up …

A user has been let off and he carried the device with email configured on it. Security team needs this device partnership removed ASAP. Go ahead…I said. He retorted that after trying it from EMS and EMC and getting an error, he has bugged me.. ok ! let me have a look.

I opened EMC and searched the user and started manage mobile phone wizard.  I could see a device attached to the mailbox. Selected “Remove mobile phone partnership” and clicked on remove and here is the result


Why…we have a device attached and I do have full rights to manage my exchange environment then what…Took a close look at the error and it showed “The active sync device cannot be found”..Hmm.. I asked IT incharge if there is any changes made to this user AD object. He said as the user was terminated the AD account was moved to Terminated user OU..Voila..that is it..Because the partnership was established before the object was moved to this OU, we are receiving this error. One way to fix this is to move back the AD object to original OU and then remove device partnership and move it back to Terminated User OU. But Security team guys will not allow it so we need to do this purely from exchange side without doing anything to AD object.

Tricky. I forgot about my green tea and started thinking…after some googling and trial and error found the solution.. The trick is to use device GUID..

Here is the simple solution if you ever run into this.

  1. Open EMS
  2. Run following command : Get-ActivesyncDeviceStatistics –Mailbox “user alias”
  3. Copy the GUID of the device that needs to be removed
  4. Run below given command

Remove-ActiveSyncDevice –Identity “Guid copied in Step 3”

Go have your cup of green tea. J