Hi @AngyBrim
Greetings & Welcome to Microsoft Q&A forum! Thanks for posting your query!
Is there a way for me to automate the triggering?
To automate the daily snapshot process in your Azure Data Share and ensure that the new data arrives in your Azure Data Lake without manual intervention, you can use Azure PowerShell. This approach offers a straightforward and user-friendly method for configuring automatic snapshot creation in your Azure Data Share.
Here are the steps that might help you.
Install the Azure PowerShell Module: Make sure you have the Azure PowerShell module installed. You can install it using the following command.
For details, please refer: Install Azure PowerShell
Authenticate to Your Azure Account: Use the following command to connect to your Azure account.
Connect-AzAccount
Define and set up the necessary variables for your Azure Data Share environment:
# Set the required variables
$resourceGroupName = "YourResourceGroupName"
$dataShareAccountName = "YourDataShareAccountName"
$subscriptionName = "YourSubscriptionName"
$dataShareName = "YourDataShareName"
$recurrenceInterval = "Day" # Options: Minute, Hour, Day, Week, Month
$synchronizationTime = (Get-Date -Hour 2 -Minute 0 -Second 0).ToUniversalTime() # Set to 2 AM UTC
# Create a new Azure Data Share trigger
New-AzDataShareTrigger -ResourceGroupName $resourceGroupName `
-AccountName $dataShareAccountName `
-ShareSubscriptionName $subscriptionName `
-Name $dataShareName `
-RecurrenceInterval $recurrenceInterval `
-SynchronizationTime $synchronizationTime
For more details please refer: Use PowerShell to create and share snapshot triggers.
I hope this information helps. Please do let us know if you have any further queries.
Thank you.