Comments (11)
Hi @AnotherFranck,
line 1039 does not directly deal with SID conversion. Are you using the latest version?
For further analysis, please reproduce the problem with running Set-OutlookSignatures with the -verbose parameter, and then post the log file here.
Windows Powershell 5.1 is the minimum version Set-OutlookSignatures is tested with.
from set-outlooksignatures.
Hi @GruberMarkus,
Here is the exception log (in french! sorry), the error is the same even with the verbose option :(
Unexpected error. Exit.
New-Object : Impossible de convertir l'argument «0» (valeur «S-1-5-21-3197280838-653142112-32783236-11130») de «SecurityIdentifier» en type «
System.Byte[]»: «Impossible de convertir la valeur «S-1-5-21-3197280838-653142112-32783236-11130» en type «System.Byte[]». Erreur: «Impossible de
convertir la valeur «S-1-5-21-3197280838-653142112-32783236-11130» en type «System.Byte». Erreur: «Le format de la chaîne d'entrée est incorrect.»»»
Au caractère \server\Data\ITTOOLS\Set-OutlookSignatures\Set-OutlookSignatures.ps1:1039 : 34
- ... serSIDs += (New-Object System.Security.Principal.SecurityIdentifier $ ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidOperation : (:) [New-Object], MethodException
- FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.PowerShell.Commands.NewObjectCommand
I hope this will help.
Thanks
from set-outlooksignatures.
Please post the complete log file.
Please also check if you are using the most recent version of Set-OutlookSignatures. You very likely use an older version, as line 1039 is not related to any SID operation in the most recent version.
from set-outlooksignatures.
Hi @GruberMarkus
Let me try with the new version. I was using the 3.3.0. I have to test with a user now. I'll keep you updated.
Thanks
from set-outlooksignatures.
Hi @GruberMarkus
I finally have the same issue.
Maybe it is related to the user account. I don't know since it is working for my own account.
I have this issue for a user on windows 10 and other one with windows 11.
We are only using the script to create the signature with html template.
Thanks
Regards
from set-outlooksignatures.
Do I see correctly that you run the script on a client has connection to your local Active Directory?
Do I see correctly that the user is located in your local Active Directory, but the user's mailbox is hosted in Exchange Online?
from set-outlooksignatures.
The user in connected to the lan and has a direct connection to the AD.
The user is located in the local Active Directory and the mailbox is hosted on Office 365.
from set-outlooksignatures.
Please test again with the attached development version.
Use the '-verbose' parameter and post the complete script output.
Delete the old Set-OutlookSignatures.ps1 file, download the file linked above and save it as new Set-OutlookSignatures.ps1.
from set-outlooksignatures.
Hi @GruberMarkus
I ask the user to execute the script and it seems to work better, I need to check if the signature has been copied but from the log it does... I just have an error due to the fact I have no OOF template. We just need a signature in Outlook application.
scriptnobody.log
The signature is generated, I have checked with the user.
I will test a bit further.
Thanks
from set-outlooksignatures.
The root cause for opening this issue has been found and the problem solved. I will therefore close this issue. A new version will be released within the next days.
Thanks for reporting and testing!
If you do not want to set OOF messages, configure the SetCurrentUserOOFMessage parameter (see Readme for details).
If you do not want to signatures to be set in Outlook Web, configure the SetCurrentUserOutlookWebSignature parameter (see Readme for details).
Your tenant seems to have signature roaming enabled, which causes an error. Have a look at the corresponding FAQ in Readme and consider disabling the feature in your tenant or setting DisableRoamingSignaturesTemporaryToggle in your Outlook registry configuration.
from set-outlooksignatures.
Hi @GruberMarkus
I'll wait the new version :) I'll check the readme for the the options you mentioned.
Thanks for your time, your communication and your work. I appreciated it!
from set-outlooksignatures.
Related Issues (20)
- User query LDAP successfully but still get a message about graph and tokens. HOT 4
- Trying to use New outlook but it try to connect to graph when it worked with Old Outlook HOT 2
- Graph Token Redirect to localhost failed HOT 5
- The remote procedure call failed HOT 3
- You create a .docx template but your variables don't populate HOT 6
- Problem with signature in Outlook Web (OWA) HOT 12
- Script hanging at Connect to Outlook Web HOT 4
- Out-of-Office replies are not set when MailboxSpecificSignatureNames is enabled
- Mailbox is not member of any allowed group HOT 5
- Can't access local AD HOT 4
- AngleSharp dependency HOT 3
- Getting MSAL token not working on Windows Server 2016 HOT 7
- Outlook Signatures not working in OWA HOT 7
- HTML template variables replacement not working HOT 4
- Get-Process : Es kann kein Prozess mit der Prozess-ID 2716 gefunden werden. HOT 7
- Word not installed or not working correctly. Exit. HOT 3
- Conversion to Base64 is slow, slowing embedding images and loading Graph config file HOT 1
- Script is getting "Currently logged-in user" wrong? HOT 3
- Possible issue with NewOutlook HOT 5
- Signature not being set for new messages or replies/forwards, and is not displayed under Email Account in Signatures and Stationery HOT 3
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 set-outlooksignatures.