Get-CsOnlineVoicemailUserSettings really slow, is there a Graph alternative?

%3CLINGO-SUB%20id%3D%22lingo-sub-2947303%22%20slang%3D%22en-US%22%3EGet-CsOnlineVoicemailUserSettings%20really%20slow%2C%20is%20there%20a%20Graph%20alternative%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2947303%22%20slang%3D%22en-US%22%3E%3CP%3EGet-CsOnlineVoicemailUserSettings%20takes%20around%201%2C5%20seconds%20per%20user%20to%20get%20VoicemailEnabled%20value.%3C%2FP%3E%3CP%3EI%20need%20to%20run%20this%20in%20a%20tenant%20with%20100.000%20users%2C%20leading%20to%20a%20VERY%20LONG%20TIME.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20a%20faster%20PowerShell%20or%20Graph%20API%20alternative%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EIvan%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2947303%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerShell%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New Contributor

Get-CsOnlineVoicemailUserSettings takes around 1,5 seconds per user to get VoicemailEnabled value.

I need to run this in a tenant with 100.000 users, leading to a VERY LONG TIME.

 

Is there a faster PowerShell or Graph API alternative?

 

Thanks,

Ivan

0 Replies