-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
office-addin-sso configure error #659
Comments
Some more information: I tried the above in both git bash and powershell (windows terminal).
I tried again after executing |
Update: |
Update: |
The commands to manipulate azure are run via child_process command line (like you tried directly) and the result is a json string that is being parse with JSON.parse(response). When you change the system setting that changes the result coming from the command line to be readable. If there was a way to know what encoding the response was and then convert it before sending it to the json parser we could take care of this . . . but I'm not sure how to determine the response encoding or to translate it to utf8. |
Looks like it might be possible to fix this by using "cmd /c chcp 65001>nul && " as a prefix to the azure command being run on Win32. |
Expected behavior
npm run configure-sso
works.Current behavior
Using Yeoman and generator-office I scaffold an Office addin
Calling
npm run configure-sso
yields the following:Steps to Reproduce
Please provide detailed steps for reproducing the issue.
npm run configure-soo
Context
I am assuming that this error occurs while checking if I am a tenant admin.
It looks to me like an encoding problem. I am not sure what "displayName" the error above refers to,
but I assume it is my name from AAD.
That name contains Japanese characters (Katakana).
The text was updated successfully, but these errors were encountered: