I have a concurrent use license and Basic, Standard, and Advanced licenses are available. I have ArcGIS Pro open and I have a standard license set up for offline use. In my script I am importing arceditor before arcpy. When I run the script from VS Code I get tool not licensed message on arcpy.management.RegisterWithGeodatabase.
When I run arcpy.ProductInfo() I get ArcView. when I run arcpy.CheckProduct I get Available for each of the license levels.
I am able to run tools that only require a Basic license level.
ArcGIS Pro version 3.1.1