mirror of
https://github.com/Set-OutlookSignatures/Set-OutlookSignatures.git
synced 2026-04-26 18:55:53 +03:00
[GH-ISSUE #49] Access to the cloud file denied #16
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#16
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 @dakolta on GitHub (Aug 10, 2022).
Original GitHub issue: https://github.com/Set-OutlookSignatures/Set-OutlookSignatures/issues/49
Originally assigned to: @dakolta, @GruberMarkus on GitHub.
Rolled out Set-OutlookSignatures to a new user and got the following error:
@GruberMarkus commented on GitHub (Aug 10, 2022):
This seems to be a problem caused by the Files-On-Demand feature of OneDrive.
Disable the Files-On-Demand Feature, wait until the sync completed and let me know if the problem is still there.
@GruberMarkus commented on GitHub (Aug 10, 2022):
Also, use the latest version of Set-OutlookSignatures for your tests (the error message does not come from the most recent version v3.2.1, as the line numbers do not match).
@GruberMarkus commented on GitHub (Aug 14, 2022):
I can't reproduce the problem on my systems, but have found a possible workaround in the internet.
Let me know if the attached alpha version works. Run it with the '
-verbose' parameter and post the whole script output.Set-OutlookSignatures.ps1.txt
@GruberMarkus commented on GitHub (Aug 16, 2022):
Update: Use v3.3.0-alpha1 or a newer version for your tests.
@dakolta commented on GitHub (Aug 19, 2022):
Sorry for the delay, had a hard time getting the user to leave that computer on.
Here is a full text from the running of the script.
SetSig.txt
@GruberMarkus commented on GitHub (Aug 19, 2022):
The log file shows that the workaround seems to solve the problem.
The error messages regarding DLL files which can not be deleted are expected, they happen because of PowerShell and .Net restrictions.
Version 3.3.0-alpha2, which will no longer show these expected error messages, will be released in a few minutes. Release v3.3.0-alpha2 will deploy signatures for automapped and additional mailboxes per default, see CHANGELOG and README for details.
You may want to have a look at the '-GraphOnly true' parameter, if all the information relevant for Set-OutlookSignatures can be found in Microsoft Graph and no connection to an Active Directory instance on-prem is required.
@GruberMarkus commented on GitHub (Aug 20, 2022):
Closing, as v3.3.0-alpha2 and newer use an alternative approach to delete files and folders that possibly reside on OneDrive. This alternative approach avoids the "access to the cloud file is denied" error.