grahamr975 / EWS-Office365-Contact-Sync

Uses Exchange Web Services to synchronize a Global Address List in Office 365 to a user's mailbox
MIT License
98 stars 21 forks source link

FATAL Failed verify "Credentials are required to make a service request." #63

Open Zbogna24 opened 1 year ago

Zbogna24 commented 1 year ago

Hello!

I'm trying to get the script to work, but it won't run without errors. I have tried many of the things you have described, but I can't get past this one. Can you help me? What is the problem, where do I need to change in the script? All email addresses show this error. issueee

grahamr975 commented 1 year ago

Does your Azure app manifest include both of the below resourceAccess?

"requiredResourceAccess": [
    {
        "resourceAppId": "00000002-0000-0ff1-ce00-000000000000",
        "resourceAccess": [
            {
                "id": "dc50a0fb-09a3-484d-be87-e023b12c6440",
                "type": "Role"
            },
            {
                "id": "dc890d15-9560-4a4c-9b7f-a736ec74ec40",
                "type": "Role"
            }
        ]
    }
]
Zbogna24 commented 1 year ago

Yes, both resourceAccess are included.