Quantcast
Channel: Azure Management Portal forum
Viewing all articles
Browse latest Browse all 4189

get-msoluser not retrieving all users

$
0
0

I am using the get-msoluser -All command and it consistently returns "Unable to complete this action. Try again later." If I capture the data returned, it is returning only 31500 AD accounts every time. 90+% of all of the users are under the same domain. The command does not have the ability to page results. If I state a -MaxResults larger than 31500, the command fails. If I specify a -MaxResults with 31500 or less it works. There are less than 100K Azure AD accounts and this is well below the 500K threshold for the free version of Azure AD, which we are paying for the enterprise version. 

I need the ability to see all accounts AD Azure sees via PowerShell automation for O365 licensing. Is there a way to do this without the pre-knowledge of the AD accounts residing under MIM/FIM on our side? 

 

Viewing all articles
Browse latest Browse all 4189

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>