Tuesday, February 26, 2019

Microsoft Graph Permissions for Zimbra to Office 365 Calendar Migration




This application uses Microsoft Graph, and follows its permissions reference so that this application can obtain access without a user
There are THREE STEPS you must follow
1.       Find your Office 365 Tenant ID
2.       Create a new App Registration for the Z2O365 application
3.       Update the appsettings.json file
This is the walk-through:
1.       Find your Office 365 Tenant ID in the Azure AD Portal:
a.       Login to your Microsoft 365 Admin Center or Microsoft Azure as an administrator.
b.       We found the “PREVIEW” version to be a better experience (as of 1/30/2019)
NOTE: if you select preview, you can skip this step -- you will be able to see the tenant id in the second step
c.       In the Microsoft Azure portal, click Azure Active Directory.
d.       Under Manage, click Properties. The tenant ID is shown in the Directory ID box

2.       Create a new App Registration for the Z2O365 application
a.       Login to your Microsoft 365 Admin Center or Microsoft Azure as an administrator. (you just did this above)
b.       In the Microsoft Azure portal, click Azure Active Directory.
c.       Under Manage, click App registrations (preview)
d.       Create a new Registration
                                                   i.      Enter a name (your choice)
                                                 ii.      Select accounts in this organizational directory
                                               iii.      Click Register
                                               iv.      Under View API Permissions, Add permissions calendar read/write, contacts read/write
                                                 v.      Grant Admin Consent
                                               vi.      Under Certificates & Secrets, create a Secret

3.       Update the appsettings.json file
·         Under the AppSettings, add:
o   The APP Name
o   AppTenantID
o   AppID
o   AppClientSecret

No comments: