Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
torleif authored Mar 22, 2021
1 parent 39f4dac commit da0a1d9
Showing 1 changed file with 10 additions and 15 deletions.
25 changes: 10 additions & 15 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,18 @@
![Step 6](images/azure4.png)
7. You should now have everything you need to use the CRM module.

# Using the Envornment version:
==================

**Add your application details into crm.yml**

Create a mysite/_config/crm.yml file and add the following:

---
Name: CRM
---
CRMConnection:
username: webtoken@your_organisation.onmicrosoft.com
password: XXXXXXXX // Microsoft account password
client_secret: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
client_id: xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
locationTest: https://your_test_organisation.crm5.dynamics.com
locationDev: https://your_dev_organisation.crm5.dynamics.com
locationLive: https://your_organisation.crm5.dynamics.com
**Add your application details into .env**

Create a .env file and add the following:


AZUREAPPLICATIONCLIENT="XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXX"
AZUREAPPLICATIONSECRET="my secret key that came from azure portal"
AZUREAPPLICATIONENDPOINT="https://login.microsoftonline.com/XXXXXXXXXXXXX/oauth2/token"
AZUREAPPLICATIONRESOURCELOCATION="https://<myorganisationcrmname>.dynamics.com"

==================

Expand Down

0 comments on commit da0a1d9

Please sign in to comment.