Power shell execution for creating Shared Mailbox
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-09-2023 05:20 PM
I wanted to run few power shell activity such as creating a shared mailbox for azure ad cloud(not on-premise).
in order to do that we would a Mid Server to carry out the activity.
Can you help me with the architecture flow of how mid server will be configured to connect to Azure cloud to perform these activities ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-10-2023 05:24 AM
Hi,
Are there any special requirements why you would want to do it with powershell?
I would recommend to use the Microsoft Graph API instead. Then you would not need a MID server, instead you can make the REST API calls directly from the ServiceNow instance to Azure.
https://learn.microsoft.com/en-us/graph/use-the-api
Regards,
Niklas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-10-2023 03:48 PM
Hi,
That would have been the best to approach for the use case, though the problem here is that GraphAPI does not support/capability to perform certain operations such as - Creating a shared mailbox.
Therefore I think of using MID Server in this case for which I want to know how can a MID Server be setup in AZURE Cloud and what configurations are needed at the MID Server which can connect to AZURE AD and perform PowerShell activities.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-10-2023 10:33 PM
Hi,
Thanks for clarifying. I just assumed it supported Exchange Online as well. I stand corrected!
Not sure about the details you need. Hopefully someone else can help you!
But I did find this post which talks about similar things. Maybe you can find some input there.
Regards,
Niklas