[GH-ISSUE #26] $CURRENTUSERTELEPHONE$ not being populated from graph #6

Closed
opened 2026-02-27 20:30:45 +03:00 by kerem · 7 comments
Owner

Originally created by @vitorpereira on GitHub (Dec 19, 2021).
Original GitHub issue: https://github.com/Set-OutlookSignatures/Set-OutlookSignatures/issues/26

Originally assigned to: @vitorpereira, @GruberMarkus on GitHub.

Using v2.4.0 and CURRENTUSERTELEPHONE is not being populated using -graphonly $true. Checked using graph explorer and can see the value for the test user as per below. No errors when running.

"businessPhones": [
"+44 1234567890 x123"
]

Originally created by @vitorpereira on GitHub (Dec 19, 2021). Original GitHub issue: https://github.com/Set-OutlookSignatures/Set-OutlookSignatures/issues/26 Originally assigned to: @vitorpereira, @GruberMarkus on GitHub. Using v2.4.0 and $CURRENTUSERTELEPHONE$ is not being populated using -graphonly $true. Checked using graph explorer and can see the value for the test user as per below. No errors when running. "businessPhones": [ "+44 1234567890 x123" ]
kerem 2026-02-27 20:30:45 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@GruberMarkus commented on GitHub (Dec 19, 2021):

Thanks for finding and reporting this error!

Please test if changing a line in '.\docs\default graph config.ps1' solves the problem in your environment, too:
Old line: telephonenumber = 'businessPhones[0]'
new line: telephonenumber = 'businessPhones'

If you confirm the fix, I will release v2.4.1 as fast as I can.

<!-- gh-comment-id:997395320 --> @GruberMarkus commented on GitHub (Dec 19, 2021): Thanks for finding and reporting this error! Please test if changing a line in '.\docs\default graph config.ps1' solves the problem in your environment, too: Old line: telephonenumber = 'businessPhones[0]' new line: telephonenumber = 'businessPhones' If you confirm the fix, I will release v2.4.1 as fast as I can.
Author
Owner

@vitorpereira commented on GitHub (Dec 19, 2021):

I've done that and from the messages I see when running it, I'm now getting values for CURRENTMAILBOXMANAGERTELEPHONE, CURRENTMAILBOXTELEPHONE and CURRENTUSERMANAGERTELEPHONE but not for CURRENTUSERTELEPHONE.

<!-- gh-comment-id:997404127 --> @vitorpereira commented on GitHub (Dec 19, 2021): I've done that and from the messages I see when running it, I'm now getting values for $CURRENTMAILBOXMANAGERTELEPHONE$, $CURRENTMAILBOXTELEPHONE$ and $CURRENTUSERMANAGERTELEPHONE$ but not for $CURRENTUSERTELEPHONE$.
Author
Owner

@GruberMarkus commented on GitHub (Dec 19, 2021):

It's working fine in my cloud environment:
CURRENTMAILBOXMANAGERTELEPHONE: ManagerOfficePhone
CURRENTMAILBOXTELEPHONE: OfficePhone
CURRENTUSERMANAGERTELEPHONE: ManagerOfficePhone
CURRENTUSERTELEPHONE: OfficePhone

Please save the full output of Set-OutlookSignatures as text file and add it to this issue for further analysis.

<!-- gh-comment-id:997408024 --> @GruberMarkus commented on GitHub (Dec 19, 2021): It's working fine in my cloud environment: $CURRENTMAILBOXMANAGERTELEPHONE$: ManagerOfficePhone $CURRENTMAILBOXTELEPHONE$: OfficePhone $CURRENTUSERMANAGERTELEPHONE$: ManagerOfficePhone $CURRENTUSERTELEPHONE$: OfficePhone Please save the full output of Set-OutlookSignatures as text file and add it to this issue for further analysis.
Author
Owner

@GruberMarkus commented on GitHub (Dec 21, 2021):

Hi Vitor,

any updates from you side?

It's working fine in my cloud environment:
CURRENTMAILBOXMANAGERTELEPHONE: ManagerOfficePhone
CURRENTMAILBOXTELEPHONE: OfficePhone
CURRENTUSERMANAGERTELEPHONE: ManagerOfficePhone
CURRENTUSERTELEPHONE: OfficePhone

<!-- gh-comment-id:998921808 --> @GruberMarkus commented on GitHub (Dec 21, 2021): Hi Vitor, any updates from you side? It's working fine in my cloud environment: $CURRENTMAILBOXMANAGERTELEPHONE$: ManagerOfficePhone $CURRENTMAILBOXTELEPHONE$: OfficePhone $CURRENTUSERMANAGERTELEPHONE$: ManagerOfficePhone $CURRENTUSERTELEPHONE$: OfficePhone
Author
Owner

@GruberMarkus commented on GitHub (Dec 22, 2021):

Hi Vitor,

v2.5.0-beta1 has just been released. It contains some new features and a fix for the problem in this issue.

Please let me know if this beta solves the problem (if yes, I will close this issue).

<!-- gh-comment-id:999605556 --> @GruberMarkus commented on GitHub (Dec 22, 2021): Hi Vitor, v2.5.0-beta1 has just been released. It contains some new features and a fix for the problem in this issue. Please let me know if this beta solves the problem (if yes, I will close this issue).
Author
Owner

@GruberMarkus commented on GitHub (Dec 24, 2021):

Hi @vitorpereira,

Merry Christmas!

v2.5.0-beta1 has been released, containing a fix for the problem in this issue.

Please let me know if I can close this issue as solved.

<!-- gh-comment-id:1000859372 --> @GruberMarkus commented on GitHub (Dec 24, 2021): Hi @vitorpereira, Merry Christmas! v2.5.0-beta1 has been released, containing a fix for the problem in this issue. Please let me know if I can close this issue as solved.
Author
Owner

@GruberMarkus commented on GitHub (Jan 3, 2022):

Closing, as this bug has been confirmed and solved in v2.5.0-beta1.

The original issue creator, @vitorpereira, is unavailable since 15 days. He can re-open this issue any time should he finds that the bug has not been solved to his expectation.

<!-- gh-comment-id:1003934896 --> @GruberMarkus commented on GitHub (Jan 3, 2022): Closing, as this bug has been confirmed and solved in v2.5.0-beta1. The original issue creator, @vitorpereira, is unavailable since 15 days. He can re-open this issue any time should he finds that the bug has not been solved to his expectation.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Set-OutlookSignatures-Set-OutlookSignatures#6
No description provided.