SOLVED

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%3CLINGO-SUB%20id%3D%22lingo-sub-3019558%22%20slang%3D%22en-US%22%3ERe%3A%20Get-CsOnlineVoicemailUserSettings%20really%20slow%2C%20is%20there%20a%20Graph%20alternative%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3019558%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1080586%22%20target%3D%22_blank%22%3E%40Ivan195%3C%2FA%3E%26nbsp%3B-%20We%20will%20check%20for%20the%20alternative%20Graph%20API%20and%20let%26nbsp%3B%20you%20know%20if%20we%20find%20any.%3C%2FP%3E%3C%2FLINGO-BODY%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

2 Replies

@Ivan195 - We will check for the alternative Graph API and let  you know if we find any.

best response confirmed by ChetanSharma-msft (Microsoft)
Solution

@Ivan195 

There doesn't seem to be any alternative to get information about online voicemail user settings of a specific user.

Thanks, 

Prasad

-------------------------------------------------------------------------------------

If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.