mardahl / exchangeonlinescripts Goto Github PK
View Code? Open in Web Editor NEWPowershell scripts meant to assist administrators of Exchange Online
License: MIT License
Powershell scripts meant to assist administrators of Exchange Online
License: MIT License
when attempting to run the test code in azure runbook the following error occurs:
VERBOSE: Creating new EXOPSSession... Write-Error: C:\Temp\bsexhnt5.w0h\51875e8e-8646-4912-aa38-e48449ea0ec4.ps1:62 Line | 62 | connectEXOAsMSI -OAuthCredential (makeMSIOAuthCred) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Cannot process argument transformation on parameter 'Credential'. | userName
have recreated the workbook on PS 5 and PS 7 with no change. Im sure its something I'm doing wrong but I did manage to run it successfully once initially
Hi Michael,
I am using your code to connect to Exchange Online via Azure Automation Managed ID. We have a runbook that sets the retention policy for Shared Mailboxes. We receive the following error:
Error: Source server:MN2PR18MB3197.namprd18.prod.outlook.com doesn't have write permission to target DC:BLAPR02A06DC004.NAMPR02A006.PROD.OUTLOOK.COM. Usually it indicates that target forest isn't an account partition of source forest. Additional information: Insufficient access rights to perform the operation. Active directory response: 00002098: SecErr: DSID-0315145A, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0
We have set the exact same permissions using the Certificate for the Azure Run-As account and Connect-Exchangeonline (EXO V2 Module) and we do not get this error.
I am curious if you have ever seen this same error when trying to set-mailbox -retentionopolicy using your connection method. We are trying to use managed identities as much as we can but it seems like Microsoft is not ready for it.
Hi!
After a correct EXO session start (many thanks for the script), can't run Connect-MSOLService cmdlet due an error with a missing ddl "Unable to find an entry point named 'GetPerAdapterInfo' in DLL 'iphlpapi.dll'"
Could be an issue due to limited memory?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.