Hi AlexeySemibratov-2474,
Thank you for posting in Microsoft Q&A forum.
Due to our limited experimental environment, I cannot restore your sccm environment to conduct experiments, so I did some searches and got some conclusions.
If we have both IBCM and CMG and both work normally, clients will receive policy for both services and they randomly select and use one of these internet-based services. We can check the LocationService.log on the client to confirm that.
And if the client has connected to internal based Management Points, then it will not be easily changed.
But after internal based Management Points shutdown and the client policy is refreshed, the client will switched from IBCM to CMG.
Here is a link that can be used as a reference, someone has done the related lab test:
https://www.reddit.com/r/SCCM/comments/6r7h97/ibcm_migration_to_cloud_management_gateway/
Note: This is not from MS, just for your reference.
Hope the information is helpful to you.
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.