Added try statement around admin grant permissions as it have failed in some special cases