Hello
I am trying to truncate a hosted feature layer on AGOL using the REST API and Power Automate. I created an App in AGOL and I am using the client_id and client_secret to get a token. This seems to be working fine. But when I try to use the token I get the following error: User does not have permissions to access this service.
Any guidance would be much appreciated.
Thanks!

the result is this: I am able to get a token but... I get the user does not have permissions to access this service

