Comments (14)
Hi! Can you please give update when the v3.0.0 update is expected?
@Bananovics I'm aiming for early/mid-June.
from ews-office365-contact-sync.
I've opened a ticket with Microsoft and am awaiting feedback. The new version of ExchangeOnline broke the Get-User function when returning 1000+ users. There are more details about the bug linked below...
https://github.com/MicrosoftDocs/office-docs-powershell/issues/10907
from ews-office365-contact-sync.
Adding to that this announcement from Microsoft: https://techcommunity.microsoft.com/t5/exchange-team-blog/announcing-deprecation-of-remote-powershell-rps-protocol-in/ba-p/3695597
from ews-office365-contact-sync.
Thanks for the heads up. I will push out an update for v3.0.0 compatibility before the depreciation.
from ews-office365-contact-sync.
I can confirm this. As soon as you use any version higher than 2.0.5, the issue occurs. Though the issue only seems to occur with certificate-based authentication and only if you try to get more than 1000 objects. If I just run Connect-ExchangeOnline
and run (Get-Contact).Count
, the error does not appear and I get the full amount of contacts.
from ews-office365-contact-sync.
What are the Exchange Management v3 equivalents to the Cmdlets Get-User
, Get-Contact
, and Get-MailContact
? The documentation does not list any equivalents for them.
Get-Command Get-Ex*
CommandType Name Version Source
----------- ---- ------- ------
Function Get-EXCAllContactFolders 1.7.0.0 ExchangeContacts
Function Get-EXCContact 1.7.0.0 ExchangeContacts
Function Get-EXCContactFolder 1.7.0.0 ExchangeContacts
Function Get-EXCContactGroup 1.7.0.0 ExchangeContacts
Function Get-EXCContactGroups 1.7.0.0 ExchangeContacts
Function Get-EXCContacts 1.7.0.0 ExchangeContacts
Function Get-EXCDumpsterContacts 1.7.0.0 ExchangeContacts
Function Get-EXCPrivacyReport 1.7.0.0 ExchangeContacts
Cmdlet Get-ExecutionPolicy 3.0.0.0 Microsoft.PowerShell.Security
Cmdlet Get-EXOCasMailbox 2.0.5 ExchangeOnlineManagement
Cmdlet Get-EXOMailbox 2.0.5 ExchangeOnlineManagement
Cmdlet Get-EXOMailboxFolderPermission 2.0.5 ExchangeOnlineManagement
Cmdlet Get-EXOMailboxFolderStatistics 2.0.5 ExchangeOnlineManagement
Cmdlet Get-EXOMailboxPermission 2.0.5 ExchangeOnlineManagement
Cmdlet Get-EXOMailboxStatistics 2.0.5 ExchangeOnlineManagement
Cmdlet Get-EXOMobileDeviceStatistics 2.0.5 ExchangeOnlineManagement
Cmdlet Get-EXORecipient 2.0.5 ExchangeOnlineManagement
Cmdlet Get-EXORecipientPermission 2.0.5 ExchangeOnlineManagement
All Cmdlets Get-EXCContact*
seem to be related to user mailbox contacts.
from ews-office365-contact-sync.
Thanks for the heads up. I will push out an update for v3.0.0 compatibility before the depreciation.
Hi!
Can you please give update when the v3.0.0 update is expected?
from ews-office365-contact-sync.
Hi, same issue with get-unifiedgroup function, is this broke too, like Get-User?
Thanks,
Regards.
from ews-office365-contact-sync.
@pleongomez
I think so. From what I've experienced, all of the non-ExO commands fail when returning 1000+ objects. Specifically, when using certificate authentication with 3.1.0 REST API. Hopefully, Microsoft gets back to me soon.
from ews-office365-contact-sync.
I found a comment here: https://techcommunity.microsoft.com/t5/exchange-team-blog/announcing-deprecation-of-remote-powershell-rps-protocol-in/ba-p/3695597/page/2#comments
Says: "UPDATE: issue has been resolved. Just in case anybody else is getting the weird 'Expired or Invalid pagination request' error when using REST to fetch more than 1000 objects: apparently, you get this issue if you aren't using the .onmicrosoft.com domain for the -Organization parameter (although this does work in most cases). Documentation for Connect-ExchangeOnline does state that 'you must use the primary .onmicrosoft.com domain of the organization', so be sure to check that."
I do not know if it helps but I thought it's worth to sharing
from ews-office365-contact-sync.
Just an update: Microsoft responded to our ticket by saying that the behavior is currently "by design" and to leave feedback here: https://feedbackportal.microsoft.com/feedback/post/. I'll have to find another workaround.
from ews-office365-contact-sync.
I found a comment here: https://techcommunity.microsoft.com/t5/exchange-team-blog/announcing-deprecation-of-remote-powershell-rps-protocol-in/ba-p/3695597/page/2#comments
Says: "UPDATE: issue has been resolved. Just in case anybody else is getting the weird 'Expired or Invalid pagination request' error when using REST to fetch more than 1000 objects: apparently, you get this issue if you aren't using the .onmicrosoft.com domain for the -Organization parameter (although this does work in most cases). Documentation for Connect-ExchangeOnline does state that 'you must use the primary .onmicrosoft.com domain of the organization', so be sure to check that."
I do not know if it helps but I thought it worth to share.
@Bananovics Thanks for researching this. Unfortunately, I still experience the same issue even when using our .onmicrosoft.com domain. Maybe someone else could have better luck?
from ews-office365-contact-sync.
I finally figured this out by throwing everything at the wall and seeing what stuck. For some reason, including the "ConnectionURI" parameter with the Connect-ExchangeOnline cmdlet was the culprit. After removing this, everything is working fine. A new version is coming soon.
from ews-office365-contact-sync.
Resolved by commit 06e1957, please see the latest version.
from ews-office365-contact-sync.
Related Issues (20)
- Exclude Specific Users from receiving the GAL sync HOT 1
- Sync Pager HOT 3
- Failed to load the Certificate (then failed to fetch GAL contacts) HOT 1
- Error (403) HOT 1
- Microsoft deprecate Azure AD, Azure AD-Preview, and MS Online PowerShell modules on March 30, 2024 HOT 4
- Impossible to configure as a scheduled task from Windows
- GAL Update
- Command to delete, overwrite Contacts\FolderName HOT 3
- Howto specify more than one mailbox to sync from command line ? HOT 5
- Issue adding Fax and Pager fields to the contacts HOT 1
- EWSContactSync.ps1 : Cannot convert the "System.Management HOT 2
- Failed verify that Directory Contacts exists HOT 2
- Could not load file or assembly 'System.Net.Http, Version=4.2.0.0 HOT 4
- Scripts Exceptions in Catch and Get-GALContacts HOT 2
- Sync contacts to the default folder name. HOT 1
- Apply the script only user mailboxes HOT 3
- Identifying errors in the log HOT 1
- Cannot find an appropriate constructor for type Microsoft.Exchange.WebServices.Data.OAuthCredentials HOT 5
- Duplicate Contacts in Folder HOT 1
- Running script in Azure Automation Account HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ews-office365-contact-sync.