In case the terrace of your building is a shared asset among all the flat owners, you may have to seek permission from the housing society before installing the solar panel system.
You will require approval from your electricity provider and the local municipal authority to install a solar on-grid system. If you install solar panels at a 10-foot height, permission from the municipality is required.