I'm using BOT Composer v1.2.1 and created a project with QnAMakerLUIS template.
I was able to publish OOB template without any changes.
BOT Composer v1.2.1
BOT Framework Emulator 4.11.0

Windows 10
Steps to reproduce the behavior:
Once after published,
Then I checked LUIS intents in BOT Composer
LUIS Intent Activity status

LUIS error in BOT Composer

Hi @narulasrinivas
Can you confirm that you are using your LUIS authoring key and matches this section from Azure portal?:

Also; have you configured any of the settings for LUIS in bot settings yet?:

I had the same issue when adding intents to an empty bot. My keys in the Composer's Bot Settings UI were correct (even after restarting composer), but when I looked at the file [bot]/settings/appsettings.json it was missing the keys.
I can set the keys manually in the file (and the bot works!), but if I change any of bot settings in the UI, they keys disappear from the file again.
@dmvtech - Thanks for responding. I checked keys and everything looks good to me. After spending lot of hours to understand and resolve it, none of the solution worked for me.
I did same steps on another laptop, it worked fine.
@negativeeddy - Even I'm experiencing same issue along with above issue.
Hi @narulasrinivas and @negativeeddy,
Can you update to v1.3.1 and see if this still reproduces for you?
@dmvtech - Installed v1.3.1 BOT composer and deployed QnAMakerLUIS OOB sample and tested but still the same :(

Hi @narulasrinivas and @negativeeddy Apologies for the delay.
Can you please try clearing the local storage and then trying again? The steps to do this are:
View->Toggle Developer Tools in Composer.Application tabLocal Storage, select the localhost node and then hit the Clear all button 🚫.You may also want to go to your LUIS authoring resource and see if you need/want to clean up any apps (with title containing (composer) in them) that are there already. Before step 6.
@negativeeddy when you set the authoring key for Composer, it will not save it to a file (along with things like app password. For security reasons). I'm thinking something is off between the local storage and what is set in recognizers\QnAMakerLUISSample-0.en-us.lu.dialog file. Clearing the local storage should hopefully help.
after updating to v1.3.0 LUIS is working for me again
@narulasrinivas Were you able to clear the local storage and try again?
@dmvtech - Unfortunately, above steps didn't work for me.
Closing as issue is now being tracked in #5451