osascript command requires admin credentials in macOS Big Sur

We have a macOS application.
The pkg installer of this app contains a postinstall script.
In this script, the shortcut (link) for the app is created using "ln" command.
And following "osascript" command is used to refresh the shortcut link so that Finder shows proper app icon on link.

osascript -e "tell application \"Finder\" to update posix file \"/Applications/<App_Directory>/<App_Name_Link>\""

osascript command does not require admin credentials on macOS versions prior to Big Sur.

When app installer is executed on macOS Big Sur, osascript command asks for admin credentials with message "Finder wants to make changes".
This is causing issue during silent installation (using installer command) of my app on macOS Big Sur as it prompts for admin credentials.

Can you please let us know how to avoid admin credentials prompt while executing above osascript command.