Setting up API to do a Migration

I have followed this guide for the migration scripts.

 Sophos Central API Academy 2024 sample scripts 

And I followed this to setup the migration

https://docs.sophos.com/central/enterprise/help/en-us/Configure/SettingsAndPolicies/GlobalTemplates/GeneralSettings/DeviceMigration/index.html#requirements

But when I run the API script, I get a 403 error trying to set the migration on the destination. Basically line 179 of X01 Device Migration Start script. Does it matter what Role the API Credentials Management role is? I have it set to Service Principal Management.

Thoughts?

 



Edit tags
[edited by: GlennSen at 3:36 PM (GMT -7) on 1 Apr 2025]