Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
minLevel | 1 | |||||||||
Table of Contents | ||||||||||
|
Info |
---|
This gives the ability to integrate CSP Partner account under Azure Active Directory to help with Azure AD and MS Security Score information for customers under CSP into CyberCNS. |
This integration involves registering two applications in the Microsoft Partner Center created using Global Admin Role. One application to pull Customers' details (Single Tenant application) and another application to pull Customers' Azure AD details (Multi-Tenant application).
The registration of applications are to be done under MSP’s Partner Portal.
Single Tenant application
Refer to this video for the detailed steps documented below.
...
Creating Azure Application for Microsoft Partner Center
Step 1a: Login to https://portal.azure.com/ using MFA Enabled Global Administrator Role to get Client ID, Secret ID and set permissions.
Step 1b: In the Microsoft Azure Portal, search for Azure Active Directory and select it.
...
App Registration
Step 1c: Navigate to App Registration —> Click on + Add —> Click on App Registration.
...
Name - Any Name for the application. E.g. CyberCNS_Azure_CSP
Select the Supported Account Types as Single Tenant.
Redirect URL
Under the select platform box select Web.
The second box gives the URL link as https://authccns.mycybercns.com/
Once all the information is entered correctly click on the Register Button.
...
Step 1d: Copy the Application (Client) ID and Directory(Tenant) ID from here to be provided into the CyberCNS portal under Azure AD CSP Integration> Credentials>Azure Application for Microsoft Partner Center
...
Certificate and Secrets
Step 2a: To create a New Client Secret for this created application, Navigate to Certificate and Secrets> Client Secrets> New Client Secret.
Step 2c: Provide a Description of this new client secret
Provide until when this Client Secret can be used and then click on Add.
...
Once added an auto-generated Value will be seen. Copy the Value and use it as a Client Secret into CyberCNS Portal.
...
API Permissions
Below are the steps to add all required API permissions for the Azure AD application in a single shot, instead of adding them one by one.
Create an application as per the integration of a single tenant.
Once the application is created click on the "Manifest" option under Manage as shown below.
This will open a JSON file.
Replace the requiredResourceAccess key value with the JSON value given below and click on save. this will add all required API permission permissions in one go.
"requiredResourceAccess": [
{
"resourceAppId": "00000003-0000-0000-c000-000000000000",
"resourceAccess": [
{
"id": "4908d5b9-3fb2-4b1e-9336-1888b7937185",
"type": "Scope"
},
{
"id": "e1fe6dd8-ba31-4d61-89e7-88639da4683d",
"type": "Scope"
},
{
"id": "498476ce-e0fe-48b0-b801-37ba7e2685c6",
"type": "Role"
}
]
},
{
"resourceAppId": "fa3d9a0c-3fb0-42cc-9193-47c7ecd2edbd",
"resourceAccess": [
{
"id": "1cebfa2a-fb4d-419e-b5f9-839b4383e05a",
"type": "Scope"
}
]
}
],
API Permissions to be set manually:
...
Step 3a: Navigate to API Permissions and select +Add a permission.
Under Request API Permissions, Select APIs my organization uses
Search for Microsoft Partner Centre (first option) and select it.
...
Step 3b: Once Microsoft Partner Centre is selected new page will open under Microsoft Partner Centre.
Under Delegated Permissions → Select permission → search Search for user_impersonation click the check box and click on Add permissions.
...
Step 3c: Under API Permissions, Click on Microsoft Graph.
Search permission for the name Organization and select the Organization.Read.All permissions.
Search permission for the name User and select the User.Read permissions.
Once done, click on Update Permissions.
...
Step 3d: Once permissions are set, on the same page, please grant admin access by clicking on the Grant admin consent for Connect Secure and click on the Yes button
...
On Granting the Consent it will redirect to the Microsoft User login screen.
Provide user email used (MFA Enabled Global Administrator)
...
Click on Accept under permissions requested.
...
This completes adding Azure Application for Microsoft Partner Center.
Multi-Tenant application
Refer to this video for the detailed steps documented below.
...
Creating Azure Application for Azure Active Directory
Step 2a: Navigate to Azure Active Directory, Click on App Registration.
App Registration
Step 2b: Register an application will need below information:
...
Under the select platform box select as Web.
Second box give the URL link as https://authccns.mycybercns.com/
Once all the information is entered correctly click on the Register Button.
...
Once the application is registered successfully, it will give a Pop-up Message as “Successfully created application <Application Name>”.
Step 2c: Copy the Application (Client) ID and Directory(Tenant) ID from here to be provided into the CyberCNS portal under Azure AD CSP Integration>Credentials> Azure Application for Azure Active Directory.
...
Certificate and Secrets
To create a New Client Secret for this created application, Navigate to Certificate and Secrets> Client Secrets> New Client Secret.
Provide a Description for this new client secret
Provide until when this Client Secret can be used and then click on Add.
...
Step 2c: Once added an auto-generated Value will be seen. Copy the Value and use it as a Client Secret into the CyberCNS Portal.
API Permissions
Below are the steps to add all required API permissions for the Azure AD application in a single shot, instead of adding them one by one.
Create an application as per the integration of multi-tenants.
Once the application is created click on the "Manifest" option under Manage as shown below.
...
This will open a JSON file.
Replace the requiredResourceAccess key value with the JSON value given below and click on save. this will add all required API permission in one go.
"requiredResourceAccess": [
{
"resourceAppId": "00000003-0000-0000-c000-000000000000",
"resourceAccess": [
{
"id": "3de2cdbeebfcd32b-0ff5babb-47d540f4-bdeea14b-7f45b4749ead42706e83bd28",
"type": "Scope"
},
{
"id": "4908d5b9e4c9e354-3fb24dc5-4b1e45b8-93369e7c-1888b7937185e1393b0b1a20",
"type": "Scope"
},
{
"id": "ebfcd32b314874da-babb47d6-40f44978-a14b88dc-42706e83bd28cf0d37f0bb82",
"type": "Scope"
},
{
"id": "e4c9e35406da0dbc-4dc549e2-45b844d2-9e7c8312-e1393b0b1a2053f166ab848a",
"type": "Scope"
},
{
"id": "314874da5f8c59db-47d6677d-4978491f-88dca6b8-cf0d37f0bb825f174b11ec1d",
"type": "Scope"
},
{
"id": "64733abdbc024368-851e1153-478a4739-bffbb217-e47a14b182354326f2e966d0",
"type": "Scope"
},
{
"id": "02e97553e383f46e-ed7b2787-43d04529-ab3c855e-f8bace0d040c0e479a3ffac0",
"type": "Scope"
},
{
"id": "e1fe6dd84908d5b9-ba313fb2-4d614b1e-89e79336-88639da4683d1888b7937185",
"type": "Scope"
},
{
"id": "a154be2002e97553-db9ced7b-467843d0-8ab7ab3c-66f6cc099a59f8bace0d040c",
"type": "Scope"
},
{
"id": "5f8c59db741c54c3-677d0c1e-491f44a1-a6b8818b-5f174b11ec1d3f97ab4e8c83",
"type": "Scope"
},
{
"id": "06da0dbc64733abd-49e2851e-44d2478a-8312bffb-53f166ab848ae47a14b18235",
"type": "Scope"
},
{
"id": "e383f46ee1fe6dd8-2787ba31-45294d61-855e89e7-0e479a3ffac088639da4683d",
"type": "Scope"
},
{
"id": "f6a3db3ea154be20-f7e8db9c-4ed24678-a4148ab7-557c8c9830be66f6cc099a59",
"type": "Scope"
},
{
"id": "fdc4c997d07a8cc0-99423d51-44794b77-bfcbb3b0-75a36d1138df32704d1f69fa",
"type": "Role"
},
{
"id": "5b567255b0afded3-77033588-478046d8-807c8b3d-7be8301ae99b9842eff778da",
"type": "Role"
},
{
"id": "498476ce2f51be20-e0fe0bb4-48b04fed-b801bf7b-37ba7e2685c6db946066c75e",
"type": "Role"
},
{
"id": "658aa5d87ab1d382-239ff21e-45c44acd-aa12a863-864f4fc7e490ba3e13f7da61",
"type": "Role"
},
{
"id": "2f51be205b567255-0bb47703-4fed4780-bf7b807c-db946066c75e7be8301ae99b",
"type": "Role"
},
{
"id": "bf39414098830695-e37227a2-4bf944f7-a8988c18-299cfc7564e50c3ebc9698f6",
"type": "Role"
},
{
"id": "df021288b633e1c5-bdefb582-44634048-88dba93e-98f22de892149f11b44c7e96",
"type": "Role"
},
{
"id": "b0afded3498476ce-3588e0fe-46d848b0-8b3db801-9842eff778da37ba7e2685c6",
"type": "Role"
},
{
"id": "d07a8cc0230c1aed-3d51a721-4b774c5d-b3b09cb4-32704d1f69faa90514e508ef",
"type": "Role"
},
{
"id": "230c1aed483bed4a-a7212ad3-4c5d4361-9cb4a73b-a90514e508efc83ccdbdc53c",
"type": "Role"
},
{
"id": "b633e1c5bf394140-b582e372-40484bf9-a93ea898-9f11b44c7e96299cfc7564e5",
"type": "Role"
},
{
"id": "7ab1d382df021288-f21ebdef-4acd4463-a86388db-ba3e13f7da6198f22de89214",
"type": "Role"
}
]
}
],
API Permissions to be set manually:
...
Navigate to API Permissions and select +Add a permission.
Under Request API Permissions, Select Microsoft Graphs under Microsoft APIs
Click on Delegated permissions & Application permissions appropriately and search for the below permissions to add.
...
Once permissions are set, on the same page, please grant admin access by clicking on the Grant admin consent for Connect Secure and click on Yes button
Navigate to Enterprise Application> All Applications, search for the Application_name which is created & click on that Application_name.(Application created for multi tenant)
Once opened, navigate to the Security Section on the left hand side and select Permissions.
Under the Permissions, Click on Grant Admin Consent for Connect Secure.
...
On Granting the Consent it will redirect to the Microsoft User login screen.
Provide user email used (MFA Enabled Global Administrator)
...
This completes adding Azure Application for Azure Active Directory.
Info |
---|
After clicking on Accept, please close the Microsoft login window.(If it again pop-ups as login to the account) |
Integrate in CyberCNS Portal
Integrate in CyberCNS Portal
Refer to this video for the detailed steps documented below.
...
Global Settings → Integrations
Navigate to Global Settings(⚙) > Integrations and choose Azure AD CSP(GDAP) from the integrations listed.
Add Credentials
It will lead to add credentials for your Azure AD CSP(GDAP). Provide details as requested.
...
Add Azure AD CSP(GDAP) Credentials
Click on + to add Azure AD CSP(GDAP) credentials.
Choose a Name for the credentials for your reference.
By default Azure CSP Authentication Endpoint will be Global Service, it can be changed by dropdown if the Microsoft login mail id is associated with .us or .com (US government/ Global Service)
Provide Tenant ID - This is the Tenant ID from the created applications. (This is same for both the applications created- Single tenant and Multi-Tenant).
Provide Client ID and Client Secret for created Azure application for Microsoft Partner Center (Single Tenant).
Provide Client ID and Client Secret for created Azure application for Azure Active Directory(Multi-Tenant).
Click on Save to save these credentials successfully. This will lead to the Microsoft login page asking for consent.
Once the login is successful, the Azure AD Credentials will be stored successfully.
A user having an MFA EnabledGlobal Administrator role/permissions is required to be used for login.
Using the above method you can add multiple credentials.
Company Mapping
Info |
---|
|
In Company Mapping, choose the Azure AD Credential of your choice from the dropdown
Click on +Add to map the company.
One of these two options could be selected
Import Companies from Azure AD:- To import multiple companies from Azure AD at a time. This will create a new company under CyberCNS for every company imported from Azure AD.
Map Existing Company to an Azure AD company:- To map an existing company into CyberCNS to the Azure AD company.
...
If there is a Partner Centre token expiration issue:
The re-authentication option appears if the token expires under Azure AD CSP(GDAP) integration in the mapping section, as shown in the image below.
...
Import Companies from Azure AD
To import multiple companies from Azure AD, choose Import Companies from Azure AD, and click on Next.
Multiple companies can be added to the user interface so the Azure AD data to be synced to the appropriate companies selected.
Click on Finish to import all the selected Azure AD companies.
There is an option to Delete the integration mapping using the Action column. Any company mapping can be deleted if needed.
Map Existing Company to an Azure AD Company
As shown in the below image, to map existing company, select the Existing company and Azure AD company by using a dropdown or with the search bar as per the requirement.
Once the company is selected click on ‘+' to select the company and click on Finish to map all the selected Azure AD companies.
Click on “Please Click HERE to provide consent” to provide consent on behalf of the company.
By clicking here, it will redirect to the Microsoft user login screen. Please use the appropriate global admin account to provide consent to successfully add the company and sync the data into CyberCNS.After clicking on
There is a copy link to copy and open the consent link in the separate tab.(optional)
After clicking on Accept, please close the Microsoft login window.(If it again pop-ups as login to the account)
Info |
---|
|
...
There is an option to Delete the integration mapping using the Action column. Any company mapping can be deleted if needed.
...
When There is an option to Re-authenticate and Provide Consent at the company level if for any reasons a re authentication is required.
...
When Azure AD credentials and Company Mapping are added, the two tabs Azure Active Directory and Microsoft Secure Score will be enabled under the Company view> Company that have the mapping.
Please wait for the sync to complete to get the data under Azure Active Directory and Microsoft Secure Score section.
Under Azure Active Directory> Sync Now can help you sync the data at any point of time.
Once Sync now is selected, the Jobs > Azure Active Directory jobs section will show a job for sync in progress. Once it is completed, the data will be successfully shown under Azure Active Directory and Microsoft Secure Score.
Info |
---|
Make sure to have followed below steps for any errors:
|
This completes Azure Active Directory CSP Integration documentation.
...