Thomas Brooks
asked on
Powershell get-msolconact -all does not return ProxyAddresses data
When connected via (Windows Azure Active Directory Module for Windows PowerShell)
and
$O365Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $O365Cred -Authentication Basic -AllowRedirection -verbose
$importcmd = Import-PSSession $O365Session -verbose
$importcmd.ExportedFunctio ns.Count
Connect-MsolService -Credential $O365Cred
Add-pssnapin Microsoft.Adfs.Powershell
When I run Get-MSOLcontact -all against my O365 contacts, it returns the field Proxyaddresses with nothing in it.
If I execute Get-MSOLcontact -objectid <objectid> it DOES return the ProxyAddresses. What is going on?
and
$O365Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $O365Cred -Authentication Basic -AllowRedirection -verbose
$importcmd = Import-PSSession $O365Session -verbose
$importcmd.ExportedFunctio
Connect-MsolService -Credential $O365Cred
Add-pssnapin Microsoft.Adfs.Powershell
When I run Get-MSOLcontact -all against my O365 contacts, it returns the field Proxyaddresses with nothing in it.
If I execute Get-MSOLcontact -objectid <objectid> it DOES return the ProxyAddresses. What is going on?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER