It seems that Android 8 device is also supported for afw#setup. If it doesn’t help, how about using the QR code scanning for enrollment? Based on the docs, Android 6.1 and newer versions can also leverage QR code scanning when using the afw#setup enrollment method. Also, For corporate-owned work profile (COPE) devices, the afw#setup enrollment method is only supported on devices running Android 8-10. It's not available on Android 11. For further details, refer to the Google developer docs here.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.