Hi Aby Scaria,
Based on your description, here are a few options to consider:
- Use the "Create file" Action Instead of "Using Template" in Teams
If your use case allows, consider using Power Automate to:
Create the file from a known template stored in a Document Library.
Use the "Create file" action and specify the file name programmatically (e.g., including date, user name, etc.).
This avoids the need to rename the file later and bypasses the naming issue entirely.
- Use a Single Authenticated Connection
Ensure that:
The entire flow runs under one user connection (ideally the same as the creator or a service account).
This can often prevent repeated authentication prompts, depending on your organization’s security settings.
- Trigger Flow via Teams or Power Apps Button
Create a Power Automate button flow or integrate with Power Apps to:
Prompt the user for the desired file name.
Use that input to create and save the file directly in SharePoint with the correct name.
Let me know how it goes, and if this answer helps, feel free to hit “Accept Answer” so others can benefit too 😊 T&B, Harry.