KextManagerUnloadKextWithIdentifier() is not able to unload kext in BigSur

KextManagerUnloadKextWithIdentifier(kextidentifier) is not able to unload kext in BigSur.

I get error code "kOSKextReturnNotPrivileged" for API call KextManagerUnloadKextWithIdentifier

KextManagerUnloadKextWithIdentifier(kextidentifier) is able to unload kext in Catalina.

Anyone used KextManagerUnloadKextWithIdentifier() with bigsur ?
KextManagerUnloadKextWithIdentifier() is not able to unload kext in BigSur
 
 
Q