You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
was working fine in previous version on both Windows and Linux.
Current version 2.26.0 is working fine on Windows, but on Ubuntu you introduce some bug which is removing slashes (//) from InviteRedirectUrl. It's even removing all of them so if you pass url https:////////portal.azure.com it will remove all of them.
Example: Url "https://portal.azure.com" is sent to Api as "https:portal.azure.com", looks like some validator or some other function is removing them before sending.
Same issue is happening when you use -Body param instead of InviteRedirectUrl.
Expected behavior
Should work same on both environments as it was in version 2.25.0
Haha, thanks :) yesterday when I found it, there was nothing yet in place and I couldn't find referenced issue. Thanks for quick fix and have a great day!
Describe the bug
Our process to automatically invite new users started failing after latest release 2.26.0 of Microsoft.Graph.Identitiy.SignIns
Cmdlet ->
New-MgInvitation -InvitedUserEmailAddress "[email protected]" -InviteRedirectUrl "https://portal.azure.com"
was working fine in previous version on both Windows and Linux.
Current version 2.26.0 is working fine on Windows, but on Ubuntu you introduce some bug which is removing slashes (//) from InviteRedirectUrl. It's even removing all of them so if you pass url https:////////portal.azure.com it will remove all of them.
Example: Url "https://portal.azure.com" is sent to Api as "https:portal.azure.com", looks like some validator or some other function is removing them before sending.
Same issue is happening when you use -Body param instead of InviteRedirectUrl.
Expected behavior
Should work same on both environments as it was in version 2.25.0
How to reproduce
SDK Version
2.26.0
Latest version known to work for scenario above?
2.25.0
Known Workarounds
I downgraded version of Microsoft.Graph.Identity.SignIns to 2.25.0 in my pipeline
Debug output
Execute Debug command
Configuration
Name Value
PSVersion 7.5.0
PSEdition Core
GitCommitId 7.5.0
OS Ubuntu 20.04 LTS
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
I also tested on Ubuntu 22.04
Other information
No response
The text was updated successfully, but these errors were encountered: