I am currently working on a solution where I can read/write to data extensions in the following folders using a user access token.
- Data Extensions
- Shared Data Extensions
- Salesforce Data Extensions
However, I have specific scenarios where I need to use a server-to-server token to read/write into these folders and for some reason, when I use server-server token I am only able to fetch data extensions in Shared Data Extensions folder and I cannot find data extensions in the other folders.
- I can fetch data extensions in all folders when querying from a parent BU, this behavior occurs only in child BUs.
- queryAllAccounts is true, so I can fetch shared data extensions.
Does anyone have any idea why I am experiencing this?