azure-maven-plugins icon indicating copy to clipboard operation
azure-maven-plugins copied to clipboard

I/O exception of application insight occurs when deploy function app

Open ZhengJun003 opened this issue 6 years ago • 1 comments

Plugin name and version

azure-functions-maven-plugin 1.3.5-SNAPSHOT

Plugin configuration in your pom.xml

            <plugin>
                <groupId>com.microsoft.azure</groupId>
                <artifactId>azure-functions-maven-plugin</artifactId>
                <configuration>
                    <resourceGroup>${functionResourceGroup}</resourceGroup>
                    <appName>${functionAppName}</appName>
                    <region>${functionAppRegion}</region>
                    <pricingTier>B3</pricingTier>
                    <deploymentType>RUN_FROM_ZIP</deploymentType>
                    <runtime>
                        <os>linux</os>
                    </runtime>
                    <appSettings>
                        <!-- Run Azure Function from package file by default -->
                        <property>
                            <name>FUNCTIONS_EXTENSION_VERSION</name>
                            <value>~3</value>
                        </property>
                        <property>
                            <name>AzureWebJobsStorage</name>
                            <value>xxxxx</value>
                        </property>
                        ......
                    </appSettings>
                </configuration>
                <executions>
                    <execution>
                        <id>package-functions</id>
                        <goals>
                            <goal>package</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

Actual behavior

image

ZhengJun003 avatar Dec 03 '19 05:12 ZhengJun003

Also reproduced in version ID: commicrosoftazure-3573 image

Elvira-sxr avatar Dec 06 '19 08:12 Elvira-sxr