Fixed issue - Exception was thrown when AppId was null in AppManagement