Instance profiles are not working in Shared access mode

AcrobaticMonkey
New Contributor III
I’m trying to fetch billing data from an AWS account using boto3 to assume a role that has access to this information. This operation works fine in No Isolation and Single User access modes, but it fails in Shared access mode. Since I need to store the data in Unity Catalog, I'm currently restricted to Single User access mode. Is there a way to make this operation work in Shared access mode as well?