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
When using the Update-MgUser cmdlet from the latest module update, there appears to be an issue where any user field containing the lowercase string "rn" is truncated at that point when updated in Entra. If the same string is provided in uppercase ("RN"), the issue does not occur.
Expected behavior
Expected Behaviour:
The FaxNumber field should display the complete string:
"Test string with rn in it"
Actual Behaviour:
The FaxNumber field shows the truncated string:
"Test string with in it"
How to reproduce
Steps to Reproduce:
Update-MgUser -UserId $User.Id -FaxNumber "Test string with rn in it"
Check the updated FaxNumber field in Entra.
SDK Version
No response
Latest version known to work for scenario above?
No response
Known Workarounds
Workaround:
Changing "rn" to uppercase ("RN") prevents the truncation:
Update-MgUser -UserId $User.Id -FaxNumber "Test string with RN in it"
Impact
This issue could affect user updates where "rn" appears naturally in strings, potentially leading to data loss or corruption in user attributes.
Can anyone else reproduce the error.
Debug output
Click to expand log
```
</details>
### Configuration
Windows 10 Build 19405
Module: 2.26.0
### Other information
_No response_
The text was updated successfully, but these errors were encountered:
Hi @benpaddick1 apologies for this experience. Please update to version 2.26.1. I'll also close this as a duplicate of a similar issue that had been reported here #3178
Describe the bug
When using the Update-MgUser cmdlet from the latest module update, there appears to be an issue where any user field containing the lowercase string "rn" is truncated at that point when updated in Entra. If the same string is provided in uppercase ("RN"), the issue does not occur.
Expected behavior
Expected Behaviour:
The FaxNumber field should display the complete string:
"Test string with rn in it"
Actual Behaviour:
The FaxNumber field shows the truncated string:
"Test string with in it"
How to reproduce
Steps to Reproduce:
Update-MgUser -UserId $User.Id -FaxNumber "Test string with rn in it"
Check the updated FaxNumber field in Entra.
SDK Version
No response
Latest version known to work for scenario above?
No response
Known Workarounds
Workaround:
Changing "rn" to uppercase ("RN") prevents the truncation:
Update-MgUser -UserId $User.Id -FaxNumber "Test string with RN in it"
Impact
This issue could affect user updates where "rn" appears naturally in strings, potentially leading to data loss or corruption in user attributes.
Can anyone else reproduce the error.
Debug output
Click to expand log
```The text was updated successfully, but these errors were encountered: