Relative Content

Tag Archive for phplaravelmicrosoft-graph-apibing-ads-api

Laravel Socialite: Unable to retrieve Microsoft Ads account and Merchant Center data using Microsoft Azure Active Directory

I’m working on a Laravel project using Socialite to authenticate and log in users with their Microsoft accounts. I’ve created an application in the Azure portal with the “Supported account types: All Microsoft account users” setting. The authentication process is working fine, and I can successfully fetch basic user details such as ID, name, and email.
However, I’m unable to retrieve the user’s Ads account and Merchant Center information using Microsoft Azure Active Directory. I’ve checked the Azure portal, but I cannot find the necessary API permissions/scopes, such as ads.manage. I would like to know how to enable these permissions and properly configure my Azure application to fetch the required data.