function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
IshwarIshwar 

Deployment Error: The user license doesn't allow the permission: SubscribeToLightningReports

Getting below error while deploying Salesforce Platform licences Profiles to Prod (Winter 17).
Deployment Error: The user license doesn't allow the permission: SubscribeToLightningReports

I know this is listed in known issues of Salesforce. If there is any workaround, would be great help.
Before posting I have considered below points,
1. I tried updating SubscribeToLightningReports to False in Profile xml, it does not work because of Salesforce Platform licence profile
2. Can not refresh sandbox from Prod, it will remove all the development work done.
3. Talking to Saleforce support, still no luck.
 
Best Answer chosen by Ishwar
IshwarIshwar
Thanks Rahul for your response. Destination sandbox is Production which can not be refreshed.

I found workaround which is:
1. Remove 'Run Reports' permissions from Profiles (Source org)
2. Deploy change set and manually edit profiles to add 'Run Reports' permission (Destination org).

This worked for me. Just to keep in mind, removing 'Run Report' will remove some dependant permissions like 'Export Report'. Note these before deployment. Then manually add in Production along with 'Run Reports'.
 

All Answers

Rahul KumarRahul Kumar (Salesforce Developers) 
Hi Ishwar, BestRegards
RahulKumar
IshwarIshwar
Thanks Rahul for your response. Destination sandbox is Production which can not be refreshed.

I found workaround which is:
1. Remove 'Run Reports' permissions from Profiles (Source org)
2. Deploy change set and manually edit profiles to add 'Run Reports' permission (Destination org).

This worked for me. Just to keep in mind, removing 'Run Report' will remove some dependant permissions like 'Export Report'. Note these before deployment. Then manually add in Production along with 'Run Reports'.
 
This was selected as the best answer