mirror of
https://github.com/Set-OutlookSignatures/Set-OutlookSignatures.git
synced 2026-04-26 18:55:53 +03:00
[GH-ISSUE #104] Trying to use New outlook but it try to connect to graph when it worked with Old Outlook #41
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Set-OutlookSignatures-Set-OutlookSignatures#41
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fpsacha on GitHub (Mar 21, 2024).
Original GitHub issue: https://github.com/Set-OutlookSignatures/Set-OutlookSignatures/issues/104
Using Powershell 5
"Powershell 7 64 bits does not find NewOutlook"
My account is not a remote mailbox.
My command does not have the -GraphOnly true
The registry UseNewOutlook is set to 1 in
Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Outlook\PreferencesIf i run the script using PS 5 or 7, with Old Outlook. It works, i have the signature and everything.
If i run the script using PS 5 with the New outlook, it finds the version of the new outlook "Version: 1.2024.313.100"
LDAP and QC Query are successful but then it tries to connect to Graph. Do we have to use Graph to use the New outlook or can we do it locally ?
Error i have :Unexpected error. Exit.
New-MsalClientApplication : Cannot bind argument to parameter 'ClientId' because it is an empty string.
Obviously because my graph is not setup because i do not want to use it.
@GruberMarkus commented on GitHub (Mar 21, 2024):
Hi Sasha,
to my knowledge, New Outlook currently does not work with Exchange mailboxes held on-prem, only with Exchange mailboxes held in Exchange Online. That's why a connection to Graph is required.
This blog article from the Microsoft Outlook team still seems to be valid: https://techcommunity.microsoft.com/t5/outlook-blog/the-new-outlook-for-windows-for-organization-admins/ba-p/3929169 ("Support for Exchange on-prem": "Investigating")
Also, New Outlook does not store signatures locally, but in the Exchange mailbox as a "roaming signature". And that also is only supported in Exchange Online.
The error is because you modified the default value of
$GraphClientIdindefault graph config.ps1, and set it to a non supported value.If you want to avoid a connection to Microsoft Graph, all of the following settings must be configured:
GraphOnlytotrueGraphOnlytotrueThe PowerShell code in Set-OutlookSignatures looks like this:
Please let me know if this answers your questions.
@fpsacha commented on GitHub (Mar 21, 2024):
Thanks for the info !
i was trying to do Option B but with New Outlook.
i will Work on an Enterprise Apps then.