- AskCody Help Center
- Integrations and Security
- Microsoft Exchange and Exchange Online
-
Implementing AskCody
- 1. Preface
- 2. Plan & Prepare for the implementation of AskCody
- 3. Create your organizational account
- 4. Integrate with Microsoft Exchange
- 5. Establish User Management
- 6. Setting up Bookings
- 7. Setting up Displays
- 8. Setting up Services
- 9. Setting up Visitors
- 10. End-user management
- 11. Final Testing
- 12. Deploy to end-users
- 13. End-user Training and Adoption
- 14. Support after go-live
-
Integrations and Security
-
Troubleshooting
-
Bookings
-
Services
-
Visitors
-
Insights
-
Maps
-
Tips & Tricks, Webinars, and more
-
Data processing and legal
-
Mastering Reports
-
Join the AskCody User Community
Create a service account using PowerShell
Learn how to create a service account in your Exchange Environment using PowerShell
In order to integrate with Exchange Server using Basic Authentication, you must be a Global Administrator in your organization's Azure Active Directory.- Open the Exchange management shell and run the following command:
New-Mailbox -UserPrincipalName sa@domain -Alias SA -Name serviceaccount - OrganizationalUnit Users -FirstName Service -LastName Account -DisplayName "Service Account"
Make sure "domain" is replaced with the domain of your organization. The shell will prompt you to enter a password for the new user. This password will later be used to connect the service to the AskCody management portal.
- In the Exchange management shell, run the command:
New-ManagementRoleAssignment –Role:ApplicationImpersonation –User:InsertNameOfServiceAccount
Remember to insert the name of your service account in the command. If you have named the service account as shown in step 1, the command should look like this:
New-ManagementRoleAssignment –Role:ApplicationImpersonation –User:serviceaccount